diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ab962ae..d6a2d8d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -30,7 +30,7 @@ MainWindow::MainWindow(const std::string& binary, QWidget* parent) : QMainWindow QObject::connect(ui->actionAddButton, SIGNAL( triggered() ), this, SLOT( addSample() )); QObject::connect(ui->actionSaveConfig, SIGNAL( triggered() ), this, SLOT( saveConfig() )); QObject::connect(ui->actionButtonManager, SIGNAL( triggered() ), this, SLOT( openButtonManager() )); - QObject::connect(ui->allwaysOnTop, SIGNAL( stateChanged(int) ), this, SLOT( alwaysOnTopSettingChange(int) )); + QObject::connect(ui->alwaysOnTop, SIGNAL( stateChanged(int) ), this, SLOT( alwaysOnTopSettingChange(int) )); QObject::connect(stopGlobal, SIGNAL( activated() ), this, SLOT( stop() )); QObject::connect(this, SIGNAL(newStatusMessage(const QString&)), ui->statusbar, SLOT(showMessage(const QString&))); diff --git a/ui/mainwindow.ui b/ui/mainwindow.ui index 3d411dd..98f9142 100644 --- a/ui/mainwindow.ui +++ b/ui/mainwindow.ui @@ -54,9 +54,9 @@ - + - AllwaysOnTop + AlwaysOnTop