QFusionStyle: rename dock_widget_close_xpm to avoid clash with qcommonstylepixmaps_p.h
They're different XPMs, so we can't share them. Detected by -unity-build-batch-size 103. Task-number: QTBUG-115031 Pick-to: 6.6 6.5 Change-Id: Ifa5ce59df10883f95582aefe37e413db2e5a13f1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
7c6be5e884
commit
199a339f38
|
|
@ -76,7 +76,7 @@ static const int groupBoxTopMargin = 3;
|
|||
|
||||
#if QT_CONFIG(imageformat_xpm)
|
||||
/* XPM */
|
||||
static const char * const dock_widget_close_xpm[] = {
|
||||
static const char * const fusion_dock_widget_close_xpm[] = {
|
||||
"11 13 7 1",
|
||||
" c None",
|
||||
". c #D5CFCB",
|
||||
|
|
@ -3731,7 +3731,7 @@ QIcon QFusionStyle::standardIcon(StandardPixmap standardIcon, const QStyleOption
|
|||
return QIcon(QPixmap(workspace_minimize));
|
||||
case SP_TitleBarCloseButton:
|
||||
case SP_DockWidgetCloseButton:
|
||||
return QIcon(QPixmap(dock_widget_close_xpm));
|
||||
return QIcon(QPixmap(fusion_dock_widget_close_xpm));
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
@ -3753,7 +3753,7 @@ QPixmap QFusionStyle::standardPixmap(StandardPixmap standardPixmap, const QStyle
|
|||
return QPixmap(workspace_minimize);
|
||||
case SP_TitleBarCloseButton:
|
||||
case SP_DockWidgetCloseButton:
|
||||
return QPixmap(dock_widget_close_xpm);
|
||||
return QPixmap(fusion_dock_widget_close_xpm);
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue