mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
indent QCleanlooksStyle::sizeFromContents()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a3250a6681
commit
9ceaac9432
1 changed files with 4 additions and 4 deletions
|
@ -3756,8 +3756,8 @@ QSize QCleanlooksStyle::sizeFromContents(ContentsType type, const QStyleOption *
|
|||
newSize += QSize(0, 4);
|
||||
break;
|
||||
case CT_MenuBarItem:
|
||||
newSize += QSize(0, 2);
|
||||
break;
|
||||
newSize += QSize(0, 2);
|
||||
break;
|
||||
case CT_MenuItem:
|
||||
if (const QStyleOptionMenuItem *menuItem = qstyleoption_cast<const QStyleOptionMenuItem *>(option)) {
|
||||
if (menuItem->menuItemType == QStyleOptionMenuItem::Separator) {
|
||||
|
@ -3775,8 +3775,8 @@ QSize QCleanlooksStyle::sizeFromContents(ContentsType type, const QStyleOption *
|
|||
}
|
||||
break;
|
||||
case CT_SizeGrip:
|
||||
newSize += QSize(4, 4);
|
||||
break;
|
||||
newSize += QSize(4, 4);
|
||||
break;
|
||||
case CT_MdiControls:
|
||||
if (const QStyleOptionComplex *styleOpt = qstyleoption_cast<const QStyleOptionComplex *>(option)) {
|
||||
int width = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue