QmlDesigner: Fixed minor issues

This commit is contained in:
Christiaan Janssen
2010-02-09 10:44:38 +01:00
parent 6da581aa29
commit 6a67f00e06
14 changed files with 16 additions and 17 deletions

View File

@@ -529,7 +529,7 @@ void DesignModeWidget::showEditor(Core::IEditor *editor)
m_currentTextEdit = textEdit;
DocumentWidget *documentWidget = 0;
if (textEdit && textEditor && fileName.endsWith(".qml")) {
if (textEdit && textEditor && fileName.endsWith(QLatin1String(".qml"))) {
if (m_documentHash.contains(textEdit)) {
documentWidget = m_documentHash.value(textEdit);
} else {