diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index e67fc95aae2..788d87d74f3 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -1400,7 +1400,7 @@ void FakeVimPluginPrivate::maybeReadVimRc() QString fileName = theFakeVimSetting(ConfigVimRcPath)->value().toString(); if (fileName.isEmpty()) { fileName = QStandardPaths::writableLocation(QStandardPaths::HomeLocation) - + (HostOsInfo::isWindowsHost() ? "/_vimrc" : "/.vimrc"); + + QLatin1String(HostOsInfo::isWindowsHost() ? "/_vimrc" : "/.vimrc"); } //qDebug() << "READING VIMRC: " << fileName; // Read it into a temporary handler for effects modifying global state.