aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
diff options
context:
space:
mode:
authorq5sys <jt@xsystems.com>2017-10-24 17:15:58 -0400
committerq5sys <jt@xsystems.com>2017-10-24 17:15:58 -0400
commit2065eaea73177ccb66f24c7ba433abe67f11b31c (patch)
treea2b85e1bfcce419279423c748af5610e2520451c /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
parentchange thumbnail generation to faster method tested in lumina-fm-dev (diff)
downloadlumina-2065eaea73177ccb66f24c7ba433abe67f11b31c.tar.gz
lumina-2065eaea73177ccb66f24c7ba433abe67f11b31c.tar.bz2
lumina-2065eaea73177ccb66f24c7ba433abe67f11b31c.zip
warning banner for running lumina-fm as root_
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
index 1b00343d..93a8fec4 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
@@ -30,6 +30,10 @@
DirWidget::DirWidget(QString objID, QSettings *settings, QWidget *parent) : QWidget(parent), ui(new Ui::DirWidget){
ui->setupUi(this); //load the designer file
+ //if(rootmode = true){ui->label_rootmode->setVisible(true);}
+ //else{
+ ui->label_rootmode->setVisible(false);
+ //}
ID = objID;
//Assemble the toolbar for the widget
toolbar = new QToolBar(this);
bgstack15