Changeset 9afc0ee for src/mvc


Ignore:
Timestamp:
01/19/10 10:09:41 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
c5324ca
Parents:
b1fc17a
Message:

set MapDialog? title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/event.cpp

    rb1fc17a r9afc0ee  
    7979    //qDebug() << query.lastError();
    8080    if(query.next())
    81     {
    82         QString map = query.record().value("name").toString();
    83         map=map.toLower(); // room names are stored in lower-case format
    84         map=map.remove("."); // room names are stored without dots in the name, eg. "aw.1124.png" -> "aw1124.png"
    85         return map;
    86     }
     81        return query.record().value("name").toString();
    8782    else
    8883        return QString("not-available");
Note: See TracChangeset for help on using the changeset viewer.