diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-09-25 01:56:17 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-09-25 01:56:17 -0400 |
commit | d49ac45655a160984c5e1c1429b08fab3f000224 (patch) | |
tree | 1270db3c1a77abf135ecb69c90f194bef418720c | |
parent | f9181c7d97aee38426409b49b47bac6c8271b2f2 (diff) | |
download | deduper-d49ac45655a160984c5e1c1429b08fab3f000224.tar.xz |
Use hidpi pixmap is deprecated in qt6.
-rw-r--r-- | qdeduper/main.cpp | 2 |
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(); |