[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdereview/binary-clock
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2008-01-22 16:16:05
Message-ID: 1201018565.739644.6853.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 764803 by aseigo:
set the default size in the ctor, not in init(). this allows the clock to retain size \
between plasma restarts. otherwise, this is ready to be moved to extragear.
CCMAIL:davide.bettio@kdemail.net
M +1 -3 binaryclock.cpp
--- trunk/kdereview/binary-clock/binaryclock.cpp #764802:764803
@@ -35,6 +35,7 @@
m_dialog(0)
{
setHasConfigurationInterface(true);
+ setContentSize(getWidthFromHeight(128), 128);
}
void BinaryClock::init()
@@ -46,8 +47,6 @@
m_showOffLeds = cg.readEntry("showOffLeds", true);
connectToEngine();
-
- setContentSize(getWidthFromHeight(128), 128);
}
BinaryClock::~BinaryClock()
@@ -104,7 +103,6 @@
if (m_showSeconds) {
timeEngine->connectSource(m_timezone, this, 500);
-
} else {
timeEngine->connectSource(m_timezone, this, 6000, Plasma::AlignToMinute);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic