summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index 2303844..991372b 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -5,16 +5,17 @@
#include <QUrl>
#include <QMap>
-QUrl baseUrl;
+QUrl baseURL;
// Function not yet used, depends how settings will be loaded.
+// Probably better to not use a member variable to save settings,
+// rather process/set them in the main & use globals.
void fbgui::setOption(QString key, QString value)
{
if (!_options.contains(key))
_options.insert(key, value);
else
{
- // temp, find a better way for this
_options.remove(key);
_options.insert(key, value);
}