aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-09-15 12:25:54 -0400
committerKen Moore <ken@ixsystems.com>2017-09-15 12:25:54 -0400
commit5b1831a22408a22d9c3bc03a82942a4bf092f311 (patch)
treeab34171d8d1c905ea589b915e8209cfee0b5844e /src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
parentMake sure the "leave" dialog is themeable, and theme it within the DarkGlass ... (diff)
downloadlumina-5b1831a22408a22d9c3bc03a82942a4bf092f311.tar.gz
lumina-5b1831a22408a22d9c3bc03a82942a4bf092f311.tar.bz2
lumina-5b1831a22408a22d9c3bc03a82942a4bf092f311.zip
Add mouse cursor theme management to lthemeengine.
Also fix up a number of other little bugs in various pages.
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
index 1a09ac0d..7ed54f02 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
@@ -72,7 +72,7 @@ void IconThemePage::loadTheme(const QString &path){
config.endGroup();
QIcon icon1 = findIcon(path, 24, "document-save");
QIcon icon2 = findIcon(path, 24, "document-print");
- QIcon icon3 = findIcon(path, 24, "media-playback-stop");
+ QIcon icon3 = findIcon(path, 24, "document-edit");
QTreeWidgetItem *item = new QTreeWidgetItem();
item->setIcon(0, icon1);
item->setIcon(1, icon2);
@@ -97,7 +97,7 @@ QIcon IconThemePage::findIcon(const QString &themePath, int size, const QString
config.endGroup();
foreach (QString dir, dirs){
config.beginGroup(dir);
- if(config.value("Size").toInt() == size){
+ if(config.value("Size").toInt() == size || config.value("Type").toString().toLower()=="scalable"){
QDir iconDir = QFileInfo(themePath).path() + "/" + dir;
iconDir.setFilter(QDir::Files);
iconDir.setNameFilters(QStringList () << name + ".*");
bgstack15