aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-06-26 18:52:55 -0400
committerZackaryWelch <welch.zackary@gmail.com>2018-06-26 18:52:55 -0400
commit7e3d4e8e857cde44c0ab6d42a00093a122985d9e (patch)
tree20bb35fb9fdaa84086bc6ffd7706cdcfa2b9e5bf /src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
parentFix up some syntax rules for the markdown and C++ files. (diff)
downloadlumina-7e3d4e8e857cde44c0ab6d42a00093a122985d9e.tar.gz
lumina-7e3d4e8e857cde44c0ab6d42a00093a122985d9e.tar.bz2
lumina-7e3d4e8e857cde44c0ab6d42a00093a122985d9e.zip
Commented some debugs and fixed text highlight size and mouseover segfault
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/mainUI.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
index f0b64948..b44cd8f2 100644
--- a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp
@@ -355,7 +355,7 @@ void MainUI::endPresentation(){
}
void MainUI::startLoadingPages(int degrees){
- qDebug() <<"Start Loading Pages";
+ //qDebug() <<"Start Loading Pages";
//if(BACKEND->hashSize() != 0) { return; } //currently loaded[ing]
loadingQueue.clear();
BACKEND->clearHash();
@@ -420,7 +420,7 @@ void MainUI::paintToPrinter(QPrinter *PRINTER){
int copies = PRINTER->copyCount();
bool collate = PRINTER->collateCopies();
bool reverse = (PRINTER->pageOrder()==QPrinter::LastPageFirst);
- qDebug() << "PRINTER DPI:" << PRINTER->resolution() << PRINTER->supportedResolutions();
+ //qDebug() << "PRINTER DPI:" << PRINTER->resolution() << PRINTER->supportedResolutions();
if(PRINTER->resolution() < 300){
//Try to get 300 DPI resolution at least
PRINTER->setResolution(300);
@@ -632,10 +632,11 @@ void MainUI::find(QString text, bool forward) {
TextData *currentText = results[currentHighlight];
- if(BACKEND->supportsExtraFeatures())
+ if(BACKEND->supportsExtraFeatures()) {
WIDGET->highlightText(currentText);
- }else{
- ui->resultsLabel->setText("No results found");
+ }else{
+ ui->resultsLabel->setText("No results found");
+ }
}
}
}
bgstack15