@@ -86,6 +86,8 @@ void QgsSimpleLineSymbolLayerV2Widget::colorChanged()
86
86
{
87
87
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
88
88
// Native Mac dialog works only for Qt Carbon
89
+ // Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889
90
+ // FIXME need to also check max QT_VERSION when Qt bug fixed
89
91
QColor color = QColorDialog::getColor ( mLayer ->color (), this , " " , QColorDialog::DontUseNativeDialog );
90
92
#else
91
93
QColor color = QColorDialog::getColor ( mLayer ->color (), this );
@@ -233,6 +235,8 @@ void QgsSimpleMarkerSymbolLayerV2Widget::setColorBorder()
233
235
{
234
236
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
235
237
// Native Mac dialog works only for Qt Carbon
238
+ // Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889
239
+ // FIXME need to also check max QT_VERSION when Qt bug fixed
236
240
QColor borderColor = QColorDialog::getColor ( mLayer ->borderColor (), this , " " , QColorDialog::DontUseNativeDialog );
237
241
#else
238
242
QColor borderColor = QColorDialog::getColor ( mLayer ->borderColor (), this );
@@ -248,6 +252,8 @@ void QgsSimpleMarkerSymbolLayerV2Widget::setColorFill()
248
252
{
249
253
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
250
254
// Native Mac dialog works only for Qt Carbon
255
+ // Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889
256
+ // FIXME need to also check max QT_VERSION when Qt bug fixed
251
257
QColor color = QColorDialog::getColor ( mLayer ->color (), this , " " , QColorDialog::DontUseNativeDialog );
252
258
#else
253
259
QColor color = QColorDialog::getColor ( mLayer ->color (), this );
@@ -327,6 +333,8 @@ void QgsSimpleFillSymbolLayerV2Widget::setColor()
327
333
{
328
334
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
329
335
// Native Mac dialog works only for Qt Carbon
336
+ // Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889
337
+ // FIXME need to also check max QT_VERSION when Qt bug fixed
330
338
QColor color = QColorDialog::getColor ( mLayer ->color (), this , " " , QColorDialog::DontUseNativeDialog );
331
339
#else
332
340
QColor color = QColorDialog::getColor ( mLayer ->color (), this );
@@ -342,6 +350,8 @@ void QgsSimpleFillSymbolLayerV2Widget::setBorderColor()
342
350
{
343
351
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
344
352
// Native Mac dialog works only for Qt Carbon
353
+ // Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889
354
+ // FIXME need to also check max QT_VERSION when Qt bug fixed
345
355
QColor color = QColorDialog::getColor ( mLayer ->borderColor (), this , " " , QColorDialog::DontUseNativeDialog );
346
356
#else
347
357
QColor color = QColorDialog::getColor ( mLayer ->borderColor (), this );
@@ -665,6 +675,8 @@ void QgsLineDecorationSymbolLayerV2Widget::colorChanged()
665
675
{
666
676
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
667
677
// Native Mac dialog works only for Qt Carbon
678
+ // Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889
679
+ // FIXME need to also check max QT_VERSION when Qt bug fixed
668
680
QColor color = QColorDialog::getColor ( mLayer ->color (), this , " " , QColorDialog::DontUseNativeDialog );
669
681
#else
670
682
QColor color = QColorDialog::getColor ( mLayer ->color (), this );
@@ -861,6 +873,8 @@ void QgsFontMarkerSymbolLayerV2Widget::setColor()
861
873
{
862
874
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
863
875
// Native Mac dialog works only for Qt Carbon
876
+ // Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889
877
+ // FIXME need to also check max QT_VERSION when Qt bug fixed
864
878
QColor color = QColorDialog::getColor ( mLayer ->color (), this , " " , QColorDialog::DontUseNativeDialog );
865
879
#else
866
880
QColor color = QColorDialog::getColor ( mLayer ->color (), this );
0 commit comments