View Full Version : How to know which style is used?
Olivier Berten
28th February 2010, 11:25
There's a bug (http://code.google.com/p/qgtkstyle/issues/detail?id=93) in the GTK+ style that prevents my software to work properly. So I'd like to change it to Cleanlooks when it's used... But I have no clue how to know what style is used...
December
28th February 2010, 11:45
Try this:
QString style = qApp->style()->objectName()
faldzip
28th February 2010, 12:03
or
QApplication::style()->metaObject()->className();
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.