diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-04-04 16:57:15 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-04-04 16:57:15 -0400 |
commit | 603e57e5d0a473ea7f51bf4cf274bebe512ac159 (patch) | |
tree | 94f5c15e40b2c026eeecc3f45530cd295d73638d /src-qt5/desktop-utils | |
parent | Added propper text annotation handling and changed how links and annotations ... (diff) | |
download | lumina-603e57e5d0a473ea7f51bf4cf274bebe512ac159.tar.gz lumina-603e57e5d0a473ea7f51bf4cf274bebe512ac159.tar.bz2 lumina-603e57e5d0a473ea7f51bf4cf274bebe512ac159.zip |
Removed dangling code
Diffstat (limited to 'src-qt5/desktop-utils')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/PrintWidget.h | 2 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h index a95af6fa..d7e3d92e 100644 --- a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h +++ b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h @@ -277,7 +277,7 @@ protected: if(!BACKEND->isExternalLink(page->pageNumber()-1, link->getData()->text())) { BACKEND->handleLink(link->getData()->text()); }else{ - ExternalLinkDialog + //External Link } link->setOpacity(0.1); } diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp index 7354cf38..f6d0734d 100644 --- a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp @@ -220,4 +220,5 @@ bool Renderer::isExternalLink(int pageNum, QString text) { if(trueLink->linkType() == Poppler::Link::LinkType::Browse) return true; } + return false; } |