mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-28 08:37:22 -08:00
Add non-root clause for VNC viewer
This commit is contained in:
parent
e5431f06ef
commit
028b0063c6
1 changed files with 2 additions and 0 deletions
2
apps.cpp
2
apps.cpp
|
@ -31,6 +31,8 @@ apps::apps(QWidget *parent) :
|
||||||
ui->koboxAppsOpenButton->hide();
|
ui->koboxAppsOpenButton->hide();
|
||||||
ui->label_5->deleteLater();
|
ui->label_5->deleteLater();
|
||||||
ui->koboxAppsOpenButton->deleteLater();
|
ui->koboxAppsOpenButton->deleteLater();
|
||||||
|
}
|
||||||
|
if(checkconfig("/external_root/opt/root/rooted") == false or checkconfig("/external_root/boot/flags/X11_START") == false) {
|
||||||
ui->vncViewerLabel->hide();
|
ui->vncViewerLabel->hide();
|
||||||
ui->vncLaunchBtn->hide();
|
ui->vncLaunchBtn->hide();
|
||||||
ui->vncViewerLabel->deleteLater();
|
ui->vncViewerLabel->deleteLater();
|
||||||
|
|
Loading…
Reference in a new issue