diff options
| author | Lars Knoll <[email protected]> | 2020-03-04 09:54:35 +0100 |
|---|---|---|
| committer | Shawn Rutledge <[email protected]> | 2020-03-04 19:10:37 +0000 |
| commit | a0ffdf765e34820b591bcb9d1bee6df0985056cf (patch) | |
| tree | 2328cacb6547e7de3535a968d234aa84942b445f /examples/widgets/tools/undo/main.cpp | |
| parent | d57adfe5f375121c3e233465526ee5d9df03e1e9 (diff) | |
| parent | 2a4b95778993b00499eb94f61a87330fdbadf947 (diff) | |
Merge "Merge remote-tracking branch 'origin/5.15' into dev"
Diffstat (limited to 'examples/widgets/tools/undo/main.cpp')
| -rw-r--r-- | examples/widgets/tools/undo/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/widgets/tools/undo/main.cpp b/examples/widgets/tools/undo/main.cpp index a5ec1b1b834..1a6dcf8c48d 100644 --- a/examples/widgets/tools/undo/main.cpp +++ b/examples/widgets/tools/undo/main.cpp @@ -54,6 +54,9 @@ int main(int argc, char **argv) { Q_INIT_RESOURCE(undo); +#ifdef Q_OS_ANDROID + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif QApplication app(argc, argv); |
