OpenToonz - An open-source full-featured 2D animation creation software
C
fix additional style sheet condition
shun-iwasawa6502cda45805
diff --git a/toonz/sources/toonzlib/preferences.cpp b/toonz/sources/toonzlib/preferences.cppindex 3cf1a2927..a18ac0275 100644--- a/toonz/sources/toonzlib/preferences.cpp+++ b/toonz/sources/toonzlib/preferences.cpp@@ -386,8 +386,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.8QString 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