summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/editormanager/openeditorsview.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-12-22 14:44:14 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-12-22 14:47:29 +0100
commit2892f13b8c5ed3417872d4160686cc6e589c070c (patch)
tree2c6ede3aeb58dea58260188b4b6597778a81bb66 /src/plugins/coreplugin/editormanager/openeditorsview.cpp
parent0d72da2fd4eb4492fc259eccd4888ca66f1b66f5 (diff)
downloadqt-creator-2892f13b8c5ed3417872d4160686cc6e589c070c.tar.gz
CorePlugin: Compile with QT_NO_CAST_FROM_ASCII.
- Wrap literals in QLatin1String()/QLatin1Char(). - Extract some string constants avoiding repeated QString construction. - Fix repeated invocation of Container.end() in loops. Change-Id: If737735507aaf82e53063adda53f54c46418f42f Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/coreplugin/editormanager/openeditorsview.cpp')
-rw-r--r--src/plugins/coreplugin/editormanager/openeditorsview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.cpp b/src/plugins/coreplugin/editormanager/openeditorsview.cpp
index f9658f0441..30f04b688c 100644
--- a/src/plugins/coreplugin/editormanager/openeditorsview.cpp
+++ b/src/plugins/coreplugin/editormanager/openeditorsview.cpp
@@ -100,7 +100,7 @@ OpenEditorsWidget::OpenEditorsWidget()
{
m_ui.setupUi(this);
setWindowTitle(tr("Open Documents"));
- setWindowIcon(QIcon(Constants::ICON_DIR));
+ setWindowIcon(QIcon(QLatin1String(Constants::ICON_DIR)));
setFocusProxy(m_ui.editorList);
m_ui.editorList->viewport()->setAttribute(Qt::WA_Hover);
m_ui.editorList->setItemDelegate((m_delegate = new OpenEditorsDelegate(this)));