aboutsummaryrefslogtreecommitdiff
path: root/qdeduper
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-25 01:56:17 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-25 01:56:17 -0400
commitd49ac45655a160984c5e1c1429b08fab3f000224 (patch)
tree1270db3c1a77abf135ecb69c90f194bef418720c /qdeduper
parentf9181c7d97aee38426409b49b47bac6c8271b2f2 (diff)
downloaddeduper-d49ac45655a160984c5e1c1429b08fab3f000224.tar.xz
Use hidpi pixmap is deprecated in qt6.
Diffstat (limited to 'qdeduper')
-rw-r--r--qdeduper/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qdeduper/main.cpp b/qdeduper/main.cpp
index 9be94f4..6edc144 100644
--- a/qdeduper/main.cpp
+++ b/qdeduper/main.cpp
@@ -7,7 +7,9 @@ DeduperMainWindow *w = nullptr;
int main(int argc, char **argv)
{
QApplication a(argc, argv);
+#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
a.setAttribute(Qt::ApplicationAttribute::AA_UseHighDpiPixmaps);
+#endif
w = new DeduperMainWindow();
w->show();