Commit 91748c97 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use Q_EMIT here

parent ed44f39c
......@@ -92,7 +92,7 @@ void GammaCtrl::setGamma(int sliderpos)
textfield->setNum(xv->getGamma(gchannel));
oldpos = sliderpos;
changed = false;
emit gammaChanged(sliderpos);
Q_EMIT gammaChanged(sliderpos);
}
}
......
......@@ -319,7 +319,7 @@ void KGamma::load()
}
xv->setScreen(currentScreen);
emit changed(false);
Q_EMIT changed(false);
}
}
......@@ -368,7 +368,7 @@ void KGamma::save()
config->sync();
delete config;
saved = true;
emit changed(false);
Q_EMIT changed(false);
}
}
......
......@@ -46,7 +46,7 @@ private Q_SLOTS:
/** Called if the user changesd something */
void Changed()
{
emit changed(true);
Q_EMIT changed(true);
}
/** Called if the user marked or unmarked the XF86Config checkbox */
void changeConfig();
......
Supports Markdown
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