summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-20 19:59:37 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:32:10 +0100
commit6c2dbc95c317b94c82b909aeddef82c2c33116ff (patch)
tree8136c05808b9b6668d69c2b5c2a3c35cfa9899aa /gui
parentdeb301619d3d6ade1023d0a2b234a9d948a6dbd0 (diff)
cruft
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp4
-rw-r--r--gui/process_detector.cpp2
2 files changed, 1 insertions, 5 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index a30e185a..bac8f700 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -7,10 +7,6 @@
* copyright notice and this permission notice appear in all copies.
*/
-#if defined(Q_CREATOR_RUN)
-# pragma clang diagnostic ignored "-Wmain"
-#endif
-
#include "migration/migration.hpp"
#include "options/options.hpp"
using namespace options;
diff --git a/gui/process_detector.cpp b/gui/process_detector.cpp
index 8301974c..ef65ca9a 100644
--- a/gui/process_detector.cpp
+++ b/gui/process_detector.cpp
@@ -106,7 +106,7 @@ int process_detector::add_row(QString const& exe_name, QString const& profile)
{
BrowseButton* b = new BrowseButton(twi);
b->setText("...");
- QObject::connect(b, SIGNAL(clicked()), b, SLOT(browse()));
+ QObject::connect(b, &BrowseButton::clicked, b, &BrowseButton::browse);
ui.tableWidget->setCellWidget(i, 2, b);
}