summaryrefslogtreecommitdiff
path: root/src/nxmaccessmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxmaccessmanager.h')
-rw-r--r--src/nxmaccessmanager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nxmaccessmanager.h b/src/nxmaccessmanager.h
index 1bdeae40..16dde612 100644
--- a/src/nxmaccessmanager.h
+++ b/src/nxmaccessmanager.h
@@ -41,6 +41,8 @@ public:
~NXMAccessManager();
+ void setTopLevelWidget(QWidget* w);
+
bool validated() const;
bool validateAttempted() const;
@@ -94,9 +96,10 @@ protected:
QIODevice *device);
private:
+ QWidget* m_TopLevel;
QTimer m_ValidateTimeout;
QNetworkReply *m_ValidateReply;
- QProgressDialog *m_ProgressDialog { nullptr };
+ mutable QProgressDialog* m_ProgressDialog;
QString m_MOVersion;