mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Re-Enable changing style
This commit is contained in:
@@ -1095,8 +1095,8 @@ namespace BlackGui
|
||||
{
|
||||
// QStyle *style = QApplication::setStyle(widgetStyle);
|
||||
QStyle *style = QStyleFactory::create(widgetStyle);
|
||||
// Disaabled because of crash
|
||||
// QApplication::setStyle(style); // subject of crash
|
||||
// That can crash
|
||||
QApplication::setStyle(style); // subject of crash
|
||||
if (style)
|
||||
{
|
||||
CLogMessage(this).info(u"Changed style to '%1', req.: '%2'") << style->objectName() << widgetStyle;
|
||||
|
||||
Reference in New Issue
Block a user