Commit 80beb01f authored by David Edmundson's avatar David Edmundson
Browse files

Fix overloaded signal

Summary:
Compiled locally due to QT_DEPRECATED_SINCE, won't compile for distros

Test Plan:
Still compiles locally

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25172
parent 61efc0af
......@@ -160,7 +160,7 @@ void KGamma::setupUI() {
QStackedWidget *stack = new QStackedWidget ( this );
stack->setFrameStyle( QFrame::Box | QFrame::Raised );
connect( combo, &QComboBox::activated,
connect( combo, QOverload<int>::of(&QComboBox::activated),
stack, &QStackedWidget::setCurrentIndex );
QLabel *pic1 = new QLabel(stack);
......@@ -269,7 +269,7 @@ void KGamma::setupUI() {
screenselect->setEnabled( false );
}
else
connect(screenselect, &QComboBox::activated, this, &KGamma::changeScreen);
connect(screenselect, QOverload<int>::of(&QComboBox::activated), this, &KGamma::changeScreen);
optionsHBoxLayout->setSpacing( 10 );
optionsHBoxLayout->setStretchFactor( xf86cfgbox, 10 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment