diff --git a/qt/OpenRGBClientInfoPage.cpp b/qt/OpenRGBClientInfoPage.cpp index b713df860..3c0e048ab 100644 --- a/qt/OpenRGBClientInfoPage.cpp +++ b/qt/OpenRGBClientInfoPage.cpp @@ -75,7 +75,7 @@ void OpenRGBClientInfoPage::UpdateInfo() | Set up a signal mapper to handle disconnect buttons | \*-----------------------------------------------------*/ QSignalMapper* signalMapper = new QSignalMapper(this); - connect(signalMapper, SIGNAL(mapped(QObject *)), this, SLOT(on_ClientDisconnectButton_clicked(QObject *))); + connect(signalMapper, SIGNAL(mapped(QObject *)), this, SLOT(onClientDisconnectButton_clicked(QObject *))); /*-----------------------------------------------------*\ | Loop through all clients in list and display them | @@ -188,7 +188,7 @@ void Ui::OpenRGBClientInfoPage::on_ClientConnectButton_clicked() rgb_client->RegisterClientInfoChangeCallback(UpdateInfoCallback, this); } -void Ui::OpenRGBClientInfoPage::on_ClientDisconnectButton_clicked(QObject * arg) +void Ui::OpenRGBClientInfoPage::onClientDisconnectButton_clicked(QObject * arg) { /*-----------------------------------------------------*\ | Get the pointer to the disconnecting client from args | diff --git a/qt/OpenRGBClientInfoPage.h b/qt/OpenRGBClientInfoPage.h index 8b682d475..d133237f7 100644 --- a/qt/OpenRGBClientInfoPage.h +++ b/qt/OpenRGBClientInfoPage.h @@ -25,7 +25,7 @@ public slots: private slots: void on_ClientConnectButton_clicked(); - void on_ClientDisconnectButton_clicked(QObject * arg); + void onClientDisconnectButton_clicked(QObject * arg); private: Ui::OpenRGBClientInfoPageUi *ui;