summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhushan Shah <[email protected]>2017-05-12 14:17:07 +0530
committerBhushan Shah <[email protected]>2017-05-12 14:17:07 +0530
commit3c17ba7612797d5b6ee86ac023991d5592fbca1a (patch)
tree224e319f5537fef854a4e02864c0225168283a00
parenta8fcb3f7b60e56aef317b61de138b58f63f149d3 (diff)
Use old style connect syntax
Otherwise it breaks build on some compilers like clang BUG: 379740
-rw-r--r--kcmodule/global/GeneralPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcmodule/global/GeneralPage.cpp b/kcmodule/global/GeneralPage.cpp
index 565e01f..a1c5512 100644
--- a/kcmodule/global/GeneralPage.cpp
+++ b/kcmodule/global/GeneralPage.cpp
@@ -124,7 +124,7 @@ void GeneralPage::fillUi()
connect(BatteryCriticalCombo, SIGNAL(currentIndexChanged(int)), SLOT(changed()));
- connect(pausePlayersCheckBox, &QCheckBox::stateChanged, this, static_cast<void(KCModule::*)()>(&KCModule::changed));
+ connect(pausePlayersCheckBox, SIGNAL(stateChanged(int)), SLOT(changed()));
if (!hasPowerSupplyBattery) {
BatteryCriticalLabel->hide();