summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-02-14 20:51:49 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-02-14 21:10:54 +0100
commit3933afcc0942a635ff253a59d6138983e6fd90b8 (patch)
tree3b1b77a5f30954a5220eb1aa618364a3b0020720 /rbutil/rbutilqt/rbutilqt.h
parent9acd70288dfa47cac084b965a046df6f71d4ee26 (diff)
downloadrockbox-3933afcc0942a635ff253a59d6138983e6fd90b8.tar.gz
rockbox-3933afcc0942a635ff253a59d6138983e6fd90b8.tar.bz2
rockbox-3933afcc0942a635ff253a59d6138983e6fd90b8.zip
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
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.h')
-rw-r--r--rbutil/rbutilqt/rbutilqt.h2
1 files changed, 1 insertions, 1 deletions
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<QTranslator*> 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;