[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma (silent)
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2010-09-23 19:18:16
Message-ID: 20100923191816.D70EDAC888 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1178741 by aseigo:
SVN_SILENT: pedant
M +0 -2 applet.cpp
--- trunk/KDE/kdelibs/plasma/applet.cpp #1178740:1178741
@@ -945,7 +945,6 @@
d->background->resizeFrame(boundingRect().size());
//if the background has an "overlay" element decide a random position for it \
and then save it so it's consistent across plasma starts
-
if (d->background->hasElement("overlay")) {
QSize overlaySize = d->background->elementSize("overlay");
@@ -954,7 +953,6 @@
d->background->d->overlayPos.rx() = - (overlaySize.width() /2) + \
(overlaySize.width() /4) * (qrand() % (4 + 1));
d->background->d->overlayPos.ry() = (- (overlaySize.height() /2) + \
(overlaySize.height() /4) * (qrand() % (4 + 1)))/2; }
-
} else if (d->background) {
qreal left, top, right, bottom;
d->background->getMargins(left, top, right, bottom);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic