mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
don't update the version control emblems each time, reuse the cached versions (fixed wrong logic in 'if'-statement)
svn path=/trunk/KDE/kdebase/apps/; revision=1061553
This commit is contained in:
parent
a960935b00
commit
1dbcada376
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ QPixmap DolphinFileItemDelegate::emblemForState(KVersionControlPlugin::VersionSt
|
|||
// TODO: all icons that are use here will be replaced by revision control emblems provided by the
|
||||
// Oxygen team before KDE 4.4
|
||||
Q_ASSERT(state <= KVersionControlPlugin::ConflictingVersion);
|
||||
if ((m_cachedSize != size) || !m_cachedEmblems[state].isNull()) {
|
||||
if ((m_cachedSize != size) || m_cachedEmblems[state].isNull()) {
|
||||
m_cachedSize = size;
|
||||
|
||||
const int iconHeight = size.height();
|
||||
|
|
Loading…
Reference in a new issue