|
|
|
@ -281,9 +281,7 @@ QPixmap PlastikButtonProvider::icon(ButtonIcon icon, int size, bool active, bool
|
|
|
|
|
drawObject(p, HorizontalLine, r.x()+(r.width()-lwMark)/2, r.y()+(r.height()-lwMark)/2, lwMark, lwMark);
|
|
|
|
|
|
|
|
|
|
// Fall through to OnAllDesktopsIcon intended!
|
|
|
|
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0))
|
|
|
|
|
Q_FALLTHROUGH();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
case OnAllDesktopsIcon:
|
|
|
|
|
{
|
|
|
|
@ -309,9 +307,7 @@ QPixmap PlastikButtonProvider::icon(ButtonIcon icon, int size, bool active, bool
|
|
|
|
|
drawObject(p, HorizontalLine, center-(lwArrow-2), r.y()+2*lwArrow, (lwArrow-2)*2, lwArrow);
|
|
|
|
|
|
|
|
|
|
// Fall through to KeepAboveIcon intended!
|
|
|
|
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0))
|
|
|
|
|
Q_FALLTHROUGH();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
case KeepAboveIcon:
|
|
|
|
|
{
|
|
|
|
@ -337,9 +333,7 @@ QPixmap PlastikButtonProvider::icon(ButtonIcon icon, int size, bool active, bool
|
|
|
|
|
drawObject(p, HorizontalLine, center-(lwArrow-2), r.bottom()-(lwArrow-1)-2*lwArrow, (lwArrow-2)*2, lwArrow);
|
|
|
|
|
|
|
|
|
|
// Fall through to KeepBelowIcon intended!
|
|
|
|
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0))
|
|
|
|
|
Q_FALLTHROUGH();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
case KeepBelowIcon:
|
|
|
|
|
{
|
|
|
|
|