ognarb updated this revision to Diff 53738. ognarb added a comment.
Use string.length > 0 instead of string == "". It's faster REPOSITORY R223 Okular CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18658?vs=53338&id=53738 BRANCH arcpatch-D18658 REVISION DETAIL https://phabricator.kde.org/D18658 AFFECTED FILES CMakeLists.txt mobile/app/package/contents/ui/TableOfContents.qml mobile/app/package/contents/ui/Thumbnails.qml To: ognarb, #okular, ngraham, aacid Cc: yurchor, ltoscano, aacid, ngraham, okular-devel, tfella, darcyshen