From 53ead8192398ba7680f4995d9a50529aa89f670e Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Thu, 18 Mar 2021 11:58:48 +0900 Subject: [PATCH] fix additional style sheet condition --- toonz/sources/toonzlib/preferences.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toonz/sources/toonzlib/preferences.cpp b/toonz/sources/toonzlib/preferences.cpp index 6bff1ef2..6b6be358 100644 --- a/toonz/sources/toonzlib/preferences.cpp +++ b/toonz/sources/toonzlib/preferences.cpp @@ -407,8 +407,9 @@ void Preferences::definePreferenceItems() { // (QTBUG-90242) Since the current OT is made to handle such issue, so we need // to apply an extra adjustment when it is run on the older versions (5.9.x) // of Qt + // Update: confirmed that the bug does not appear at least in Qt 5.12.8 QString defaultAditionalSheet = ""; -#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 12, 9) defaultAditionalSheet = "QMenu::Item{ padding: 3 28 3 28; }"; #endif