summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
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);
}