소스 검색

Add default value for ColorDialogOption argument

Julien Finet 14 년 전
부모
커밋
58171260a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Libs/Widgets/ctkColorDialog.h

+ 1 - 1
Libs/Widgets/ctkColorDialog.h

@@ -73,7 +73,7 @@ public:
   /// The \a options argument allows you to customize the dialog;
   /// QColorDialog::DontUseNativeDialog is forced
   static QColor getColor(const QColor &initial, QWidget *parent,
-                         const QString &title, ColorDialogOptions options);
+                         const QString &title, ColorDialogOptions options = 0);
   /// Add a custom widget as an additional tab of the color dialog created by 
   /// ctkColorDialog::getColor. \a label is title of the tab and \a signal is the signal fired by 
   /// the widget whenever a QColor is changed, typically: SIGNAL(currentColorChanged(QColor)). It