Browse Source

Fixed build error on Mac OS X

Qt::BrushStyle cannot be used as an scoped enumeration
Andreas Fetzer 10 years ago
parent
commit
618bb9f5cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libs/Widgets/ctkColorPickerButton.cpp

+ 1 - 1
Libs/Widgets/ctkColorPickerButton.cpp

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