ソースを参照

Merge pull request #580 from AndreasFetzer/fix-build-error-on-mac

Fixed build error on Mac OS X
Marco Nolden 10 年 前
コミット
8c93472320
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      Libs/Widgets/ctkColorPickerButton.cpp

+ 1 - 1
Libs/Widgets/ctkColorPickerButton.cpp

@@ -83,7 +83,7 @@ void ctkColorPickerButtonPrivate::computeIcon()
   QPainter p(&pix);
   p.setPen(QPen(Qt::gray));
   p.setBrush(this->Color.isValid() ?
-    this->Color : QBrush(Qt::BrushStyle::NoBrush));
+    this->Color : QBrush(Qt::NoBrush));
   p.drawRect(2, 2, pix.width() - 5, pix.height() - 5);
 
   this->Icon = QIcon(pix);