fix build

Change-Id: I11ac4138b8501060da0a125d38481e3b1d6853a9
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Tim Jenssen
2016-05-13 13:58:28 +02:00
parent 7e08363052
commit bd0b76b167

View File

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