Compile with QT_NO_COLORDIALOG.
Change-Id: I37e3fed497f3595942662efb22114de57ea4c9db Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
72388121aa
commit
babc6ec143
@ -67,8 +67,10 @@ static inline int themeDialogType(const QDialog *dialog)
|
||||
if (qobject_cast<const QFileDialog *>(dialog))
|
||||
return QPlatformTheme::FileDialog;
|
||||
#endif
|
||||
#ifndef QT_NO_COLORDIALOG
|
||||
if (qobject_cast<const QColorDialog *>(dialog))
|
||||
return QPlatformTheme::ColorDialog;
|
||||
#endif
|
||||
#ifndef QT_NO_FONTDIALOG
|
||||
if (qobject_cast<const QFontDialog *>(dialog))
|
||||
return QPlatformTheme::FontDialog;
|
||||
|
Loading…
Reference in New Issue
Block a user