aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-09-23 09:44:43 -0400
committerKen Moore <ken@pcbsd.org>2016-09-23 09:44:43 -0400
commit63069bcc5f0cd5dd0f489ebdbd0c12250e01bd03 (patch)
tree881062a48de5940324231859fbad0d9d89dc33c6 /src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
parentLarge update to how XDGDesktop files are created/used. (diff)
downloadlumina-63069bcc5f0cd5dd0f489ebdbd0c12250e01bd03.tar.gz
lumina-63069bcc5f0cd5dd0f489ebdbd0c12250e01bd03.tar.bz2
lumina-63069bcc5f0cd5dd0f489ebdbd0c12250e01bd03.zip
Finish up the depretiation of the old systemapps fetching function.
Diffstat (limited to 'src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp2
1 files changed, 1 insertions, 1 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 bd8e79db..d1d6c7a8 100644
--- a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
+++ b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
@@ -126,7 +126,7 @@ void AppLauncherPlugin::buttonClicked(){
QString path = button->whatsThis();
if(path.isEmpty() || !QFile::exists(path) ){
//prompt for the user to select an application
- QList<XDGDesktop*> apps = LXDG::sortDesktopNames( LXDG::systemDesktopFiles() );
+ QList<XDGDesktop*> apps = LSession::handle()->applicationMenu()->currentAppHash()->value("All"); //LXDG::sortDesktopNames( LXDG::systemDesktopFiles() );
QStringList names;
for(int i=0; i<apps.length(); i++){ names << apps[i]->name; }
bool ok = false;
bgstack15