|
From: <cn...@us...> - 2023-03-15 18:25:21
|
Revision: 1349
http://sourceforge.net/p/seq/svn/1349
Author: cn187
Date: 2023-03-15 18:25:17 +0000 (Wed, 15 Mar 2023)
Log Message:
-----------
Qt4 compatibility fix for style enum change
Modified Paths:
--------------
showeq/trunk/src/interface.cpp
Modified: showeq/trunk/src/interface.cpp
===================================================================
--- showeq/trunk/src/interface.cpp 2023-03-15 18:25:07 UTC (rev 1348)
+++ showeq/trunk/src/interface.cpp 2023-03-15 18:25:17 UTC (rev 1349)
@@ -1447,7 +1447,11 @@
QStringList availableStyles = QStyleFactory::keys();
+#if QT_VERSION >= 0x050000
availableStyles.sort(Qt::CaseInsensitive);
+#else
+ availableStyles.sort();
+#endif
QString currentStyleName = qApp->style()->objectName();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|