summaryrefslogtreecommitdiff
path: root/examples/xmlpatterns/recipes/querymainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlpatterns/recipes/querymainwindow.h')
-rw-r--r--examples/xmlpatterns/recipes/querymainwindow.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/xmlpatterns/recipes/querymainwindow.h b/examples/xmlpatterns/recipes/querymainwindow.h
index 247ca61..215dc64 100644
--- a/examples/xmlpatterns/recipes/querymainwindow.h
+++ b/examples/xmlpatterns/recipes/querymainwindow.h
@@ -53,11 +53,7 @@
#include <QMainWindow>
-#if defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
- #include "ui_querywidget_mobiles.h"
-#else
- #include "ui_querywidget.h"
-#endif
+#include "ui_querywidget.h"
QT_BEGIN_NAMESPACE
class QComboBox;
@@ -76,7 +72,7 @@ public slots:
void displayQuery(int index);
private:
- QComboBox* ui_defaultQueries;
+ QComboBox *ui_defaultQueries = nullptr;
void evaluate(const QString &str);
void loadInputFile();