diff options
author | Ken Moore <ken@pcbsd.org> | 2014-09-16 12:43:44 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-09-16 12:43:44 -0400 |
commit | bd15a53b0dfff9f9cfbd08e460ac35e608beeafe (patch) | |
tree | 206cec86516d9100ef9d20a6401fe925a5615ea0 /libLumina/LuminaXDG.cpp | |
parent | Update the Lumina user button a bit: (diff) | |
download | lumina-bd15a53b0dfff9f9cfbd08e460ac35e608beeafe.tar.gz lumina-bd15a53b0dfff9f9cfbd08e460ac35e608beeafe.tar.bz2 lumina-bd15a53b0dfff9f9cfbd08e460ac35e608beeafe.zip |
Make sure to sort applications by name case-insensitively.
Diffstat (limited to 'libLumina/LuminaXDG.cpp')
-rw-r--r-- | libLumina/LuminaXDG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaXDG.cpp b/libLumina/LuminaXDG.cpp index e84c081e..aaf479d7 100644 --- a/libLumina/LuminaXDG.cpp +++ b/libLumina/LuminaXDG.cpp @@ -222,7 +222,7 @@ QList<XDGDesktop> LXDG::sortDesktopNames(QList<XDGDesktop> apps){ //Sort the list by name of the application QHash<QString, XDGDesktop> sorter; for(int i=0; i<apps.length(); i++){ - sorter.insert(apps[i].name, apps[i]); + sorter.insert(apps[i].name.toLower(), apps[i]); } QStringList keys = sorter.keys(); keys.sort(); |