summaryrefslogtreecommitdiffhomepage
path: root/variant
diff options
context:
space:
mode:
Diffstat (limited to 'variant')
-rw-r--r--variant/default/main.cpp2
-rw-r--r--variant/default/new_file_dialog.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/variant/default/main.cpp b/variant/default/main.cpp
index 09bb5e2a..0038583b 100644
--- a/variant/default/main.cpp
+++ b/variant/default/main.cpp
@@ -5,7 +5,7 @@
# include <windows.h>
#endif
-#if defined Q_CREATOR_RUN
+#ifdef __clang__
# pragma GCC diagnostic ignored "-Wmain"
#endif
diff --git a/variant/default/new_file_dialog.h b/variant/default/new_file_dialog.h
index 5669e4a9..7244e524 100644
--- a/variant/default/new_file_dialog.h
+++ b/variant/default/new_file_dialog.h
@@ -11,7 +11,7 @@ class new_file_dialog : public QDialog
{
Q_OBJECT
public:
- new_file_dialog(QWidget* parent = 0);
+ new_file_dialog(QWidget* parent = nullptr);
bool is_ok(QString& name_);
private: