diff options
author | Jonathan Bauer | 2011-03-06 18:20:29 +0100 |
---|---|---|
committer | Jonathan Bauer | 2011-03-06 18:20:29 +0100 |
commit | 01ba87df900d8ec6d0b0b52f8aa59db8bfcb7076 (patch) | |
tree | 1562371fa24549e47d607657447df0aaffb63c27 /src/fbgui.cpp | |
parent | baseUrl is now global variable (diff) | |
download | fbgui-01ba87df900d8ec6d0b0b52f8aa59db8bfcb7076.tar.gz fbgui-01ba87df900d8ec6d0b0b52f8aa59db8bfcb7076.tar.xz fbgui-01ba87df900d8ec6d0b0b52f8aa59db8bfcb7076.zip |
URL loading from cmdline or config file or default, depending where an URL can be found.
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r-- | src/fbgui.cpp | 5 |
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); } |