Skip to content

Commit 273ed43

Browse files
authored
Drop AA_UseHighDpiPixmaps for qt6 (#13000)
1 parent cedd952 commit 273ed43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

OMPlot/OMPlot/OMPlotGUI/PlotApplication.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ PlotApplication::PlotApplication(int &argc, char *argv[], const QString uniqueKe
4141
: QApplication(argc, argv)
4242
{
4343
setAttribute(Qt::AA_DontShowIconsInMenus, false);
44+
#if QT_VERSION < 0x060000
4445
setAttribute(Qt::AA_UseHighDpiPixmaps);
46+
#endif
4547
mSharedMemory.setKey(uniqueKey);
4648

4749
if (mSharedMemory.attach())

0 commit comments

Comments
 (0)