summaryrefslogtreecommitdiffstats
path: root/src/fbgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbgui.h')
-rw-r--r--src/fbgui.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fbgui.h b/src/fbgui.h
index 4ad17df..287b295 100644
--- a/src/fbgui.h
+++ b/src/fbgui.h
@@ -34,6 +34,7 @@
// Global settings variables
+extern QThread dmThread;
extern QString serialLocation;
extern QString fileToTriggerURL;
extern QString sessionID;
@@ -49,6 +50,7 @@ class fbgui : public QMainWindow
public:
fbgui();
+ ~fbgui();
private:
//-------------------
@@ -100,9 +102,9 @@ private slots:
// toggles debug console when action _toggleDebugConsole happens.
void toggleDebugConsole();
- // checks if the change reported by _watcher is the one we are looking for
- // e.g. fileToTriggerURL has been created, ignores other events.
- void checkForTrigger(const QString& dirname);
+ // triggered by fileChanged Signal of _watcher
+ // deletes _watcher, since we don't need it anymore and tries to load URL.
+ void prepareURLLoad();
};
#endif // FBGUI_H