diff options
Diffstat (limited to 'src/gui.h')
-rw-r--r-- | src/gui.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,9 @@ public: explicit Gui(const char *urlbase, const char *uuid, QWidget *parent = nullptr); ~Gui(); +protected: + virtual void closeEvent(QCloseEvent *event) override; + private slots: void pushedCancel(bool pushed); void pushedOk(bool pushed); @@ -32,6 +35,7 @@ private: QString _remoteState; QString _urlStatus, _urlAbort, _urlFinish; bool _denyInteraction; + bool _allowClose; QPushButton *_btnAbort, *_btnOk; QTimer *_tmrStatus; QHash<QString, Progress*> _items; |