aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/mainUI.cpp21
1 files changed, 15 insertions, 6 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
index aecf01ac..01221309 100644
--- a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
@@ -210,14 +210,23 @@ MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI()){
ui->findGroup->setVisible(false);
ui->bookmarksFrame->setVisible(false);
+ //TESTING features/functionality
ui->actionSettings->setEnabled(TESTING);
ui->actionSettings->setVisible(TESTING);
- ui->actionBookmarks->setEnabled(TESTING);
- ui->actionBookmarks->setVisible(TESTING);
- ui->actionScroll_Mode->setEnabled(TESTING);
- ui->actionScroll_Mode->setVisible(TESTING);
- ui->actionSelect_Mode->setEnabled(TESTING);
- ui->actionSelect_Mode->setVisible(TESTING);
+ ui->actionBookmarks->setEnabled(TESTING);
+ ui->actionBookmarks->setVisible(TESTING);
+ ui->actionScroll_Mode->setEnabled(TESTING);
+ ui->actionScroll_Mode->setVisible(TESTING);
+ ui->actionSelect_Mode->setEnabled(TESTING);
+ ui->actionSelect_Mode->setVisible(TESTING);
+ ui->actionProperties->setEnabled(TESTING);
+ ui->actionProperties->setVisible(TESTING);
+ ui->menuSettings->setEnabled(TESTING);
+ ui->menuSettings->setVisible(TESTING);
+ if(!TESTING){
+ ui->menubar->removeAction(ui->menuSettings->menuAction() );
+ }
+
}
MainUI::~MainUI(){
bgstack15