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); }