QStyle: remove deprecated SH_SpellCheckUnderlineStyle
It was deprecated with 88e6f8cff2
and is
not used anywhere anymore so it can be safely removed.
Change-Id: If4050ac8bf116fb31491b3b08096554c5ea3e4d5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
bbc19bd979
commit
99e52b368e
@ -2823,9 +2823,6 @@ int QMacStyle::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget *w
|
||||
case SH_MessageBox_TextInteractionFlags:
|
||||
ret = Qt::TextSelectableByMouse | Qt::LinksAccessibleByMouse | Qt::TextSelectableByKeyboard;
|
||||
break;
|
||||
case SH_SpellCheckUnderlineStyle:
|
||||
ret = QTextCharFormat::DashUnderline;
|
||||
break;
|
||||
case SH_MessageBox_CenterButtons:
|
||||
ret = false;
|
||||
break;
|
||||
|
@ -5272,9 +5272,6 @@ int QCommonStyle::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget
|
||||
if (const QPlatformTheme *theme = QGuiApplicationPrivate::platformTheme())
|
||||
ret = theme->themeHint(QPlatformTheme::DialogButtonBoxButtonsHaveIcons).toBool() ? 1 : 0;
|
||||
break;
|
||||
case SH_SpellCheckUnderlineStyle:
|
||||
ret = QTextCharFormat::WaveUnderline;
|
||||
break;
|
||||
case SH_MessageBox_CenterButtons:
|
||||
ret = true;
|
||||
break;
|
||||
|
@ -1814,9 +1814,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
|
||||
|
||||
\value SH_UnderlineShortcut Whether shortcuts are underlined.
|
||||
|
||||
\value SH_SpellCheckUnderlineStyle Obsolete. Use SpellCheckUnderlineStyle
|
||||
hint in QPlatformTheme instead.
|
||||
|
||||
\value SH_SpinBox_AnimateButton Animate a click when up or down is
|
||||
pressed in a spin box.
|
||||
\value SH_SpinBox_KeyPressAutoRepeatRate Auto-repeat interval for
|
||||
|
@ -684,7 +684,6 @@ public:
|
||||
SH_ComboBox_PopupFrameStyle,
|
||||
SH_MessageBox_TextInteractionFlags,
|
||||
SH_DialogButtonBox_ButtonsHaveIcons,
|
||||
SH_SpellCheckUnderlineStyle,
|
||||
SH_MessageBox_CenterButtons,
|
||||
SH_Menu_SelectionWrap,
|
||||
SH_ItemView_MovementWithoutUpdatingSelection,
|
||||
|
Loading…
Reference in New Issue
Block a user