Fix compile with -DQT_NO_WIZARD
Change-Id: I6f7be895b8c4a1a65de43ee35d1fab25a30a25c6 Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
parent
ce68ca86f2
commit
9bf17c7cb6
@ -9,6 +9,7 @@ SUBDIRS = classwizard \
|
||||
extension \
|
||||
findfiles
|
||||
|
||||
contains(DEFINES, QT_NO_WIZARD): SUBDIRS -= trivialwizard licensewizard classwizard
|
||||
wince*: SUBDIRS += sipdialog
|
||||
|
||||
QT += widgets
|
||||
|
@ -3488,10 +3488,10 @@ int QFusionStyle::styleHint(StyleHint hint, const QStyleOption *option, const QW
|
||||
|
||||
case SH_MessageBox_TextInteractionFlags:
|
||||
return Qt::TextSelectableByMouse | Qt::LinksAccessibleByMouse;
|
||||
|
||||
#ifndef QT_NO_WIZARD
|
||||
case SH_WizardStyle:
|
||||
return QWizard::ClassicStyle;
|
||||
|
||||
#endif
|
||||
case SH_Menu_SubMenuPopupDelay:
|
||||
return 225; // default from GtkMenu
|
||||
|
||||
|
@ -794,8 +794,10 @@ int QGtkStyle::styleHint(StyleHint hint, const QStyleOption *option, const QWidg
|
||||
return Qt::TextSelectableByMouse | Qt::LinksAccessibleByMouse;
|
||||
case SH_MessageBox_CenterButtons:
|
||||
return false;
|
||||
#ifndef QT_NO_WIZARD
|
||||
case SH_WizardStyle:
|
||||
return QWizard::ClassicStyle;
|
||||
#endif
|
||||
case SH_ItemView_ArrowKeysNavigateIntoChildren:
|
||||
return false;
|
||||
case SH_DialogButtonLayout: {
|
||||
|
Loading…
Reference in New Issue
Block a user