comparison src/main.cpp @ 240:14c6a4d40232

Move settings struct definition to main.h
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 08 May 2018 00:18:34 +0300
parents 9626307f3eeb
children ea85ff97a01c
comparison
equal deleted inserted replaced
239:9626307f3eeb 240:14c6a4d40232
14 #include "ui_mainwindow.h" 14 #include "ui_mainwindow.h"
15 #include "ui_aboutwindow.h" 15 #include "ui_aboutwindow.h"
16 #include "runguard.h" 16 #include "runguard.h"
17 17
18 18
19 // 19
20 // Application settings struct 20 //
21 // 21 // Global struct for settings
22 struct 22 //
23 { 23 SLAppSettings settings;
24 QPoint uiPos;
25 QSize uiSize;
26 double uiScale; // Global UI scale factor
27
28 QString dataPath; // Application data path/directory
29
30 // Backup related settings
31 int dbBackupMode;
32 QString dbBackupURL;
33 QString dbBackupSecret;
34 QDateTime dbLastBackup;
35 } settings;
36 24
37 25
38 // 26 //
39 // SQL schema / table definitions 27 // SQL schema / table definitions
40 // 28 //