diff options
author | q5sys <jt@xsystems.com> | 2018-03-28 22:05:27 -0400 |
---|---|---|
committer | q5sys <jt@xsystems.com> | 2018-03-28 22:05:27 -0400 |
commit | 5610d8f490a98f2a84e1cb5e02a9cafb4a26964a (patch) | |
tree | 380c3cab5688c5a7a327426f420f994e1260d45e /src-qt5/desktop-utils/lumina-pdf/mainUI.cpp | |
parent | add option to disbale startup quotes (diff) | |
parent | Minor changes. Removed debug statements. (diff) | |
download | lumina-5610d8f490a98f2a84e1cb5e02a9cafb4a26964a.tar.gz lumina-5610d8f490a98f2a84e1cb5e02a9cafb4a26964a.tar.bz2 lumina-5610d8f490a98f2a84e1cb5e02a9cafb4a26964a.zip |
Merge branch 'master' of http://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/mainUI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp index 1c529fbe..aa80489d 100644 --- a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp @@ -34,6 +34,7 @@ MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI()){ PROPDIALOG = new PropDialog(BACKEND); BOOKMARKS = new BookmarkMenu(BACKEND, ui->splitter); BOOKMARKS->setContextMenuPolicy(Qt::CustomContextMenu); + BOOKMARKS->setVisible(false); WIDGET = new PrintWidget(BACKEND, ui->splitter); WIDGET->setContextMenuPolicy(Qt::CustomContextMenu); ui->splitter->setCollapsible(0, true); @@ -360,7 +361,6 @@ void MainUI::startLoadingPages(int degrees){ BACKEND->clearHash(); WIDGET->setVisible(false); BOOKMARKS->setVisible(false); - //qDebug() << "Update Progress Bar"; progress->setRange(0, BACKEND->numPages()); progress->setValue(0); progAct->setVisible(true); @@ -516,7 +516,6 @@ void MainUI::updatePageNumber(){ }*/ void MainUI::updateContextMenu(){ - //qDebug() << "UpdateContextMenu"; contextMenu->clear(); contextMenu->addSection( QString(tr("Page %1 of %2")).arg(QString::number(WIDGET->currentPage()), QString::number(BACKEND->numPages()) ) ); |