summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
authorReimar Döffinger <brouwer@annejan.com>2015-03-29 20:22:24 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2015-03-29 20:22:24 +0200
commit5080e8c7315d1a0d15b82566dd193ace11f1e0c7 (patch)
tree86b876e14a5d65aafc42354821c475a97eb0378f /mainwindow.h
parent6b3f95a8cedb18c6cdb31856f95abd8602dce257 (diff)
Support ini file in application directory.
This is useful for use from a USB stick. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 4c57079a..59895997 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -46,6 +46,7 @@ private slots:
void messageAvailable(QString message);
private:
+ QSettings *settings;
Ui::MainWindow *ui;
QFileSystemModel model;
StoreModel proxyModel;
@@ -76,6 +77,7 @@ private:
QString getFile(const QModelIndex &, bool);
void setPassword(QString, bool);
void normalizePassStore();
+ QSettings &getSettings();
};
#endif // MAINWINDOW_H