┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2016-04-09 14:23:10 +0200
committerEmmanuel Pescosta <[email protected]>2016-04-09 14:23:10 +0200
commit8b9811694df60146a9d467305690bdf0425e428e (patch)
treeb358aa3b85d5c2e38171fef5ca27219660a04edb
parente9a254b46ab1be5860164535396e601f976761b4 (diff)
Selection toggle: Use emblem-remove and emblem-added icons from Breeze
This raises the minimum KF5 version to 5.21.0 BUG: 357587 FIXED-IN: 16.08.0 REVIEW: 127400 CCMAIL: [email protected]
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/kitemviews/private/kitemlistselectiontoggle.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 330cb1f0f..bd4732932 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ set (KDE_APPLICATIONS_VERSION_MICRO "90")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
set(QT_MIN_VERSION "5.4.0")
-set(KF5_MIN_VERSION "5.19.0")
+set(KF5_MIN_VERSION "5.21.0")
set(ECM_MIN_VERSION "1.6.0")
# ECM setup
diff --git a/src/kitemviews/private/kitemlistselectiontoggle.cpp b/src/kitemviews/private/kitemlistselectiontoggle.cpp
index 1429cb9ef..9031c870f 100644
--- a/src/kitemviews/private/kitemlistselectiontoggle.cpp
+++ b/src/kitemviews/private/kitemlistselectiontoggle.cpp
@@ -89,7 +89,7 @@ void KItemListSelectionToggle::resizeEvent(QGraphicsSceneResizeEvent* event)
void KItemListSelectionToggle::updatePixmap()
{
- const QString icon = m_checked ? QStringLiteral("list-remove") : QStringLiteral("list-add");
+ const QString icon = m_checked ? QStringLiteral("emblem-remove") : QStringLiteral("emblem-added");
const KIconLoader::States state = m_hovered ? KIconLoader::ActiveState : KIconLoader::DisabledState;
m_pixmap = KIconLoader::global()->loadIcon(icon, KIconLoader::Desktop, iconSize(), state);
}