Changeset a9f56bb


Ignore:
Timestamp:
08/15/11 14:54:09 (10 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
5ec938e
Parents:
83dc7c6
Message:

.isEmpty() feels more Qtish then == ""

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/sqlengine.cpp

    r83dc7c6 ra9f56bb  
    113113            // When city is empty, assign a dummy value. We probably want to find a way to change the database scheme ...
    114114            // cf. #32
    115             if (aConference["city"] == "") aConference["city"] = "n/a";
     115            if (aConference["city"].isEmpty()) aConference["city"] = "n/a";
    116116
    117117            QSqlQuery query(db);
Note: See TracChangeset for help on using the changeset viewer.