forked from qt-creator/qt-creator
fix build
Change-Id: I11ac4138b8501060da0a125d38481e3b1d6853a9 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user