aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmljseditor/qmljscomponentnamedialog.cpp')
-rw-r--r--src/plugins/qmljseditor/qmljscomponentnamedialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp b/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp
index ad7b664431..4917e8c59a 100644
--- a/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp
+++ b/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp
@@ -75,7 +75,7 @@ bool ComponentNameDialog::go(QString *proposedName,
*proposedName = QLatin1String("MyComponent");
d.m_componentNameEdit->setText(*proposedName);
d.m_pathEdit->setExpectedKind(Utils::PathChooser::ExistingDirectory);
- d.m_pathEdit->setHistoryCompleter(QLatin1String("QmlJs.Component.History"));
+ d.m_pathEdit->setHistoryCompleter("QmlJs.Component.History");
d.m_pathEdit->setPath(*proposedPath);
d.m_label->setText(Tr::tr("Property assignments for %1:").arg(oldFileName));
d.m_checkBox->setChecked(isUiFile);