mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
qt6: Only apply explicit HiDpi scaling on older Qt
This flag is deprecated in Qt6
This commit is contained in:
parent
df33637d32
commit
4b256fef3a
1 changed files with 2 additions and 0 deletions
|
@ -139,7 +139,9 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#endif
|
||||
|
||||
/** QtQuick on QT5 exhibits spurious disk cache failures that cannot be
|
||||
* resolved by a user in a trivial manner (they have to delete the cache manually).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue