~ken-vandine/address-book-app/add_profile

« back to all changes in this revision

Viewing changes to src/app/addressbookapp.cpp

  • Committer: CI bot
  • Author(s): Tarmac, Renato Araujo Oliveira Filho
  • Date: 2014-07-04 14:55:22 UTC
  • mfrom: (169.22.12 release-2014-07-02)
  • Revision ID: ps-jenkins@lists.canonical.com-20140704145522-7r65oy9m1zarc7yz
* Implemented MostCalledContactsModel in C++ as a proxy model for HistoryEventModel;
* Enabled share button again.
* Fixed build warning: comparison with string literal results in unspecified behavior;
* Implemented swipe to delete. Fixes: 1323577

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    QString appPath = QCoreApplication::applicationDirPath();
75
75
    if (appPath.startsWith(ADDRESS_BOOK_DEV_BINDIR)) {
76
76
        return QString(ADDRESS_BOOK_APP_DEV_DATADIR) + suffix;
77
 
    } else if (QT_EXTRA_IMPORTS_DIR != ""){
 
77
    } else if (!QStringLiteral(QT_EXTRA_IMPORTS_DIR).isEmpty()) {
78
78
        return QString(QT_EXTRA_IMPORTS_DIR) + suffix;
79
79
    } else {
80
80
        return "";