aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorq5sys (JT) <jt@ixsystems.com>2017-11-23 01:34:07 -0500
committerGitHub <noreply@github.com>2017-11-23 01:34:07 -0500
commit64cf9338019aebbd3b2717510e36a32f672317ae (patch)
treee730dfd540751d2aa09dcc39c2295496201d349f /src-qt5
parentMerge branch 'master' of github.com:trueos/lumina (diff)
parentUpdate README.md (diff)
downloadlumina-64cf9338019aebbd3b2717510e36a32f672317ae.tar.gz
lumina-64cf9338019aebbd3b2717510e36a32f672317ae.tar.bz2
lumina-64cf9338019aebbd3b2717510e36a32f672317ae.zip
Merge pull request #511 from ktullavik/master
Fix right click crash when qsudo is not installed.
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
index 453e9e61..d3b0ae2b 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
@@ -289,7 +289,9 @@ void DirWidget::createMenus(){
cOpenMenu->addAction(LXDG::findIcon("utilities-terminal",""), tr("Open Current Dir in a Terminal"), this, SLOT(openTerminal()), kOpTerm->key());
cOpenMenu->addAction(LXDG::findIcon("media-slideshow",""), tr("SlideShow"), this, SLOT(openInSlideshow()), kOpSS->key());
cOpenMenu->addAction(LXDG::findIcon("media-playback-start-circled","media-playback-start"), tr("Multimedia Player"), this, SLOT(openMultimedia()), kOpMM->key());
- if(LUtils::isValidBinary("qsudo")){ cOpenMenu->addAction(LXDG::findIcon("", ""), tr("Open Current Dir as Root"), this, SLOT(openRootFM()));
+ if(LUtils::isValidBinary("qsudo")){
+ cOpenMenu->addAction(LXDG::findIcon("", ""), tr("Open Current Dir as Root"), this, SLOT(openRootFM()));
+ }
if(cArchiveMenu==0){ cArchiveMenu = new QMenu(this); }
cArchiveMenu->setTitle(tr("Archive Options"));
@@ -327,9 +329,6 @@ void DirWidget::createMenus(){
if(LUtils::isValidBinary("lumina-fileinfo")){
cFViewMenu->addAction(LXDG::findIcon("edit-find-replace",""), tr("Properties"), this, SLOT(fileProperties()) );
}
-
-}
-
}
BrowserWidget* DirWidget::currentBrowser(){
bgstack15