Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.4.3
-
None
Description
I'm trying to determine the current style name but I get an empty string when I use qApp->setStylesheet(). I suggest the "stylesheet style" should return the name of the proxied style.
qDebug() << QApplication::style().name();
I also tried casting to QProxyStyle and getting the baseStyle but it returns QApplication::style() as documented, i.e. always the "stylesheet style".
auto style = qobject_cast<QProxyStyle *>(QApplication::style())->baseStyle();