[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/libs/plasmaclock
From: Chani Armitage <chanika () gmail ! com>
Date: 2010-02-02 20:26:42
Message-ID: 1265142402.367052.32396.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1084260 by chani:
make clocks obey security
M +1 -1 clockapplet.cpp
--- trunk/KDE/kdebase/workspace/libs/plasmaclock/clockapplet.cpp #1084259:1084260
@@ -481,7 +481,7 @@
connect(d->clipboardMenu, SIGNAL(triggered(QAction*)), this, SLOT(copyToClipboard(QAction*)));
KService::List offers = KServiceTypeTrader::self()->query("KCModule", "Library == 'kcm_clock'");
- if (!offers.isEmpty()) {
+ if (!offers.isEmpty() && hasAuthorization("LaunchApp")) {
d->adjustSystemTimeAction = new QAction(this);
d->adjustSystemTimeAction->setText(i18n("Adjust Date and Time"));
d->adjustSystemTimeAction->setIcon(KIcon(icon()));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic