diff options
author | Ken Moore <ken@ixsystems.com> | 2018-06-08 20:24:10 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-06-08 20:24:10 -0400 |
commit | e21e81652dce9f089b408b05a67ef235847402ca (patch) | |
tree | 7ec1184120c784639a4bf825f7fc9f6371445308 /src-qt5/desktop-utils/lumina-pdf/mainUI.cpp | |
parent | Rip out the initialization of drag and drop on applauncher desktop plugins. (diff) | |
download | lumina-e21e81652dce9f089b408b05a67ef235847402ca.tar.gz lumina-e21e81652dce9f089b408b05a67ef235847402ca.tar.bz2 lumina-e21e81652dce9f089b408b05a67ef235847402ca.zip |
Fix up the categories that the lumina utilities show up in.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/mainUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp index 01f89c5d..f0b64948 100644 --- a/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.cpp @@ -227,7 +227,7 @@ void MainUI::loadFile(QString path){ if(!QFile::exists(path) || path.isEmpty() ){ return; } QString password; bool ok = true; - + while( ok && !BACKEND->loadDocument(path, password) && BACKEND->needPassword() ){ password = QInputDialog::getText(this, tr("Unlock PDF"), tr("Password:"), QLineEdit::Password, "", &ok); if(!ok){ break; } //cancelled @@ -370,7 +370,7 @@ void MainUI::startLoadingPages(int degrees){ // Using Qt to scale the image (adjust page value) smooths out the image quite a bit without a lot of performance loss (but cannot scale up without pixelization) // The best approach seams to be to increase the DPI a bit, but match that with the same scaling on the page size (smoothing) - QSize DPI(150,150); //print-quality (some printers even go to 600 DPI nowdays) + QSize DPI(250,250); //print-quality (some printers even go to 600 DPI nowdays) /*qDebug() << "Screen Resolutions:"; QList<QScreen*> screens = QApplication::screens(); |