Changeset 372:820718c076ff in SMSSender


Ignore:
Timestamp:
Apr 14, 2014 11:41:25 AM (4 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • We now only search for setting files in the user's config directory when not using a debug version of the program to avoid accidential overwriting the user's real settings when having side-by-side installation of a stable and debug version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/gui/persistence/persistencefactory.cpp

    r335 r372  
    8080    qDebug() << "Portable settings path: " + settingsPath.absolutePath();
    8181
     82#ifndef QT_DEBUG
    8283    if (!settingsPath.exists("data.db")) {
    8384        QString path = QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/gorrion/SMSSender/";
     
    8586        settingsPath.setPath(path);
    8687    }
     88#endif
    8789
    8890    qDebug() << "Using " + settingsPath.absolutePath() + " as settings path";
Note: See TracChangeset for help on using the changeset viewer.