forked from qt-creator/qt-creator
Fixes: - Cancel button and default button for wizards on Mac
This commit is contained in:
@@ -509,6 +509,8 @@ QPixmap BaseFileWizard::watermark()
|
||||
void BaseFileWizard::setupWizard(QWizard *w)
|
||||
{
|
||||
w->setPixmap(QWizard::WatermarkPixmap, watermark());
|
||||
w->setOption(QWizard::NoCancelButton, false);
|
||||
w->setOption(QWizard::NoDefaultButton, false);
|
||||
}
|
||||
|
||||
bool BaseFileWizard::postGenerateFiles(const GeneratedFiles &l, QString *errorMessage)
|
||||
|
||||
Reference in New Issue
Block a user