diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-06-12 11:04:12 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-06-12 11:04:12 +0200 |
commit | 5f12149d2676d38f57394ec2bf611a8dae757c09 (patch) | |
tree | 2ee92cb9a6e57fa59a6c69fbd0d20c29394b796f /mainwindow.cpp | |
parent | 3b70e5b8abd770a95e26d0ab65dbc08eb14b4ee3 (diff) |
folder path things
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index a2b3e32a..dd06ba86 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -64,7 +64,7 @@ MainWindow::~MainWindow() QSettings &MainWindow::getSettings() { if (!settings) { - QString portable_ini = QCoreApplication::applicationDirPath() + "/qtpass.ini"; + QString portable_ini = QCoreApplication::applicationDirPath() + QDir::separator() + "qtpass.ini"; if (QFile(portable_ini).exists()) { settings.reset(new QSettings(portable_ini, QSettings::IniFormat)); } else { |