From 3933afcc0942a635ff253a59d6138983e6fd90b8 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 14 Feb 2012 20:51:49 +0100 Subject: Make configuration check reusable. Instead of passing a parameter to decide if a dialog box should be shown pass a pointer to the parent widget and make it static. This allows calling it from outside while keeping the possibility to not show a warning. Change-Id: I72fa53a7e8a83d527c22b698dfa434c24100ac29 --- rbutil/rbutilqt/rbutilqt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbutil/rbutilqt/rbutilqt.h') diff --git a/rbutil/rbutilqt/rbutilqt.h b/rbutil/rbutilqt/rbutilqt.h index 35a06cd7b3..5cc1f0de94 100644 --- a/rbutil/rbutilqt/rbutilqt.h +++ b/rbutil/rbutilqt/rbutilqt.h @@ -40,6 +40,7 @@ class RbUtilQt : public QMainWindow public: RbUtilQt(QWidget *parent = 0); static QList translators; + static bool chkConfig(QWidget *parent = 0); private: Ui::RbUtilQtFrm ui; @@ -58,7 +59,6 @@ class RbUtilQt : public QMainWindow ProgressLoggerGui *logger; ZipInstaller *installer; QUrl proxy(void); - bool chkConfig(bool); volatile bool m_installed; volatile bool m_error; -- cgit v1.2.3