Index: libs/plasmaclock/clockapplet.h =================================================================== --- libs/plasmaclock/clockapplet.h (révision 1120663) +++ libs/plasmaclock/clockapplet.h (copie de travail) @@ -86,6 +86,7 @@ void dateChanged(const QDate &); void speakTime(const QTime &); void launchTimeControlPanel(); + void callDrakClock(); private Q_SLOTS: void updateClipboardMenu(); Index: libs/plasmaclock/clockapplet.cpp =================================================================== --- libs/plasmaclock/clockapplet.cpp (révision 1120663) +++ libs/plasmaclock/clockapplet.cpp (copie de travail) @@ -37,6 +37,7 @@ #include <QtCore/QDate> #include <QtCore/QTimer> #include <QtDBus/QDBusConnectionInterface> +#include <QtCore/QProcess> #include <KColorScheme> #include <KConfigDialog> @@ -479,7 +480,7 @@ d->adjustSystemTimeAction = new QAction(this); d->adjustSystemTimeAction->setText(i18n("Adjust Date and Time")); d->adjustSystemTimeAction->setIcon(KIcon("preferences-system-time")); - connect(d->adjustSystemTimeAction, SIGNAL(triggered()), this, SLOT(launchTimeControlPanel())); + connect(d->adjustSystemTimeAction, SIGNAL(triggered()), this, SLOT(callDrakClock())); } } @@ -505,6 +506,12 @@ KRun::run(*service, urls, 0); } +void ClockApplet::callDrakClock() +{ + QProcess *proc = new QProcess(this); + proc->start("drakclock"); +} + void ClockApplet::wheelEvent(QGraphicsSceneWheelEvent *event) { if (d->selectedTimezones.count() < 1) {