Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Workspace
Commits
8dc83766
Commit
8dc83766
authored
Nov 11, 2012
by
Christoph Feck
Committed by
Aaron J. Seigo
Nov 15, 2012
Browse files
Re-apply minute hand caching optimization
(also re-apply lost commit
1041099d
) CCBUG: 307998
parent
880a4a77
Changes
1
Hide whitespace changes
Inline
Side-by-side
plasma/generic/applets/analog-clock/clock.cpp
View file @
8dc83766
...
...
@@ -152,7 +152,10 @@ void Clock::dataUpdated(const QString& source, const Plasma::DataEngine::Data &d
{
Q_UNUSED
(
source
);
m_time
=
data
[
"Time"
].
toTime
();
m_repaintCache
=
RepaintHands
;
if
(
m_time
.
minute
()
!=
lastTimeSeen
().
minute
()
&&
m_repaintCache
==
RepaintNone
)
{
m_repaintCache
=
RepaintHands
;
}
if
(
Plasma
::
ToolTipManager
::
self
()
->
isVisible
(
this
))
{
updateTipContent
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment