瀏覽代碼

QProxyStyle doesn't support nested QProxyStyles

A temporary solution is to not initialize the collapsible groupbox style
with the current style.
See Issue #24279
https://bugreports.qt-project.org/browse/QTBUG-24279
Julien Finet 13 年之前
父節點
當前提交
e7a9cc447c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Libs/Widgets/ctkCollapsibleGroupBox.cpp

+ 1 - 1
Libs/Widgets/ctkCollapsibleGroupBox.cpp

@@ -117,7 +117,7 @@ void ctkCollapsibleGroupBoxPrivate::init()
 
   this->MaxHeight = q->maximumHeight();
 #if QT_VERSION >= 0x040600
-  q->setStyle(new ctkCollapsibleGroupBoxStyle(q->style()));
+  q->setStyle(new ctkCollapsibleGroupBoxStyle(0));
 #else
   this->setStyleSheet(
     "ctkCollapsibleGroupBox::indicator:checked{"