Commit 05d380ac authored by Cyril Rossi's avatar Cyril Rossi

KCM Joystick : restore Default button to allow reset calibration.

Since there is no configuration saved, all button are hidden thanks to D26519, restore Default button which was used to reset calibration.
Remove emit changed(true) as there is nothing to save.

Reviewers: #plasma, ervin, bport, meven, mart, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 5a1d7405
......@@ -43,7 +43,7 @@ K_PLUGIN_FACTORY(JoystickFactory, registerPlugin<Joystick>();)
Joystick::Joystick(QWidget *parent, const QVariantList &)
: KCModule(parent)
setButtons(Help | Default);
setAboutData(new KAboutData(QStringLiteral("kcmjoystick"), i18n("KDE Joystick Control Module"), QStringLiteral("1.0"),
i18n("KDE System Settings Module to test Joysticks"),
KAboutLicense::GPL, i18n("(c) 2004, Martin Koller"),
......@@ -88,8 +88,6 @@ void Joystick::load()
void Joystick::defaults()
emit changed(true);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment