summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorClaudio Maradonna <penguyman@stronzi.org>2018-07-04 22:48:14 +0200
committerClaudio Maradonna <penguyman@stronzi.org>2018-07-04 22:48:14 +0200
commit7d89ebf09164dc88491a73ed9432ab9a904b57c5 (patch)
treedf9d03f4abe73a7a694dbcdf4e7b931ac8b806a4 /main
parent84775754e59efb51808ca95b0578308759ee61b3 (diff)
parentf06b64a9a921e8ff1b5303a802a59fea9a564121 (diff)
Saving
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 975efe92..85307c6b 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -18,7 +18,7 @@
*
* \subsection dependencies Dependencies
*
- * - QtPass requires Qt 4.8 or later, preferably Qt5.5 or later.
+ * - QtPass requires Qt 5.2 or later.
* - The Linguist package is required to compile the translations.
* - For use of the fallback icons the SVG library is required.
*
@@ -39,7 +39,9 @@
* @return
*/
int main(int argc, char *argv[]) {
+#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#endif
QString text = "";
for (int i = 1; i < argc; ++i) {
if (i > 1)