Commit 1041099d authored by Christoph Feck's avatar Christoph Feck
Browse files

Fix initial paint for analog clock

Unconditionally setting repaint mode to RepaintHands will clear
the initially needed RepaintAll mode, causing the background
cache not to be initialized.

BUG: 307998
FIXED-IN: KDE 4.9.4
parent 9f8438fb
......@@ -152,7 +152,9 @@ void Clock::dataUpdated(const QString& source, const Plasma::DataEngine::Data &d
{
Q_UNUSED(source);
m_time = data["Time"].toTime();
m_repaintCache = RepaintHands;
if (m_repaintCache != RepaintAll) {
m_repaintCache = RepaintHands;
}
if (Plasma::ToolTipManager::self()->isVisible(this)) {
updateTipContent();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment