forked from qt-creator/qt-creator
Cleanup IWizard interface and users
Added 639 lines, removed 1391. Change-Id: I15ec7dd056d4f7ad79c6dd6a4181007ad14f6a43 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -37,9 +37,7 @@
|
||||
|
||||
using namespace QmlJSEditor;
|
||||
|
||||
QmlFileWizard::QmlFileWizard(const BaseFileWizardParameters ¶meters,
|
||||
QObject *parent):
|
||||
Core::StandardFileWizard(parameters, parent)
|
||||
QmlFileWizard::QmlFileWizard()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -62,7 +60,7 @@ QString QmlFileWizard::fileContents(const QString &) const
|
||||
QString contents;
|
||||
QTextStream str(&contents);
|
||||
|
||||
if (baseFileWizardParameters().id() == QLatin1String(Constants::WIZARD_QML1FILE))
|
||||
if (id() == QLatin1String(Constants::WIZARD_QML1FILE))
|
||||
str << QLatin1String("import QtQuick 1.1\n");
|
||||
else
|
||||
str << QLatin1String("import QtQuick 2.0\n");
|
||||
|
||||
Reference in New Issue
Block a user