소스 검색

Fixed build error on Mac OS X

Qt::BrushStyle cannot be used as an scoped enumeration
Andreas Fetzer 10 년 전
부모
커밋
618bb9f5cf
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);