From 2065eaea73177ccb66f24c7ba433abe67f11b31c Mon Sep 17 00:00:00 2001 From: q5sys Date: Tue, 24 Oct 2017 17:15:58 -0400 Subject: warning banner for running lumina-fm as root_ --- src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp') 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); -- cgit