From d49ac45655a160984c5e1c1429b08fab3f000224 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 25 Sep 2022 01:56:17 -0400 Subject: Use hidpi pixmap is deprecated in qt6. --- qdeduper/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qdeduper') 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(); -- cgit v1.2.3