diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-16 13:06:34 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-16 13:06:34 -0400 |
commit | 971ad3b244f7b22fca9df9f2957ecfe44bdb3304 (patch) | |
tree | f1323040b45a159429f0c4ddc1b17159f0ea4b79 /src-qt5/core/lumina-desktop | |
parent | Have the lumina-open dialog show applications on the main list which also hav... (diff) | |
download | lumina-971ad3b244f7b22fca9df9f2957ecfe44bdb3304.tar.gz lumina-971ad3b244f7b22fca9df9f2957ecfe44bdb3304.tar.bz2 lumina-971ad3b244f7b22fca9df9f2957ecfe44bdb3304.zip |
Change the fallback icon used for a .desktop file in the applauncher plugin.
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp index 101abd31..8c7af5e9 100644 --- a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp +++ b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp @@ -46,7 +46,7 @@ void AppLauncherPlugin::loadButton(){ if(!watcher->files().isEmpty()){ watcher->removePaths(watcher->files()); } }else{ button->setWhatsThis(file.filePath); - button->setIcon( QIcon(LXDG::findIcon(file.icon,"quickopen").pixmap(QSize(icosize,icosize)).scaledToHeight(icosize, Qt::SmoothTransformation) ) ); + button->setIcon( QIcon(LXDG::findIcon(file.icon,"system-run").pixmap(QSize(icosize,icosize)).scaledToHeight(icosize, Qt::SmoothTransformation) ) ); txt = file.name; if(!watcher->files().isEmpty()){ watcher->removePaths(watcher->files()); } watcher->addPath(file.filePath); //make sure to update this shortcut if the file changes @@ -137,4 +137,4 @@ void AppLauncherPlugin::buttonClicked(){ LSession::LaunchApplication("lumina-open \""+path+"\""); } -}
\ No newline at end of file +} |