diff options
author | Ken Moore <ken@ixsystems.com> | 2018-04-19 15:41:10 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-04-19 15:41:10 -0400 |
commit | 782d386726aadd9f312ef9ba08780f81b5f6b40a (patch) | |
tree | 91f4a033b6954b3cd918a173414c3fe11cd2a672 /dev-tools/iconprobe | |
parent | Clean up the default fluxbox key bindings: (diff) | |
download | lumina-782d386726aadd9f312ef9ba08780f81b5f6b40a.tar.gz lumina-782d386726aadd9f312ef9ba08780f81b5f6b40a.tar.bz2 lumina-782d386726aadd9f312ef9ba08780f81b5f6b40a.zip |
Update the icon probe tool a bit.
Diffstat (limited to 'dev-tools/iconprobe')
-rw-r--r-- | dev-tools/iconprobe/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-tools/iconprobe/main.cpp b/dev-tools/iconprobe/main.cpp index 06599bf7..be0a1a30 100644 --- a/dev-tools/iconprobe/main.cpp +++ b/dev-tools/iconprobe/main.cpp @@ -29,7 +29,7 @@ QStringList themeInherits(QString dir){ QString line = in.readLine(); if(line.startsWith("Inherits=")){ //qDebug() << "Got Inherit Line" << line; - list = line.section("=",1,-1).split(";"); + list = line.section("=",1,-1).split(","); break; //done now } } @@ -72,6 +72,7 @@ int main(int argc, char ** argv) qDebug() << " - Looking for icon:" << iconfiles[j]; qDebug() << " - Found File:" << findInDir(themepath, iconfiles[j]); qDebug() << " - Has Theme Icon:" << QIcon::hasThemeIcon(iconfiles[j]); + qDebug() << " - Using Theme Cache:" << QFile::exists(themepath+"/icon-theme.cache"); qDebug() << " - Found Icon:" << QIcon::fromTheme(iconfiles[j]).name(); } qDebug() << " ================"; |