forked from qt-creator/qt-creator
fakevim: remove unneeded debug output
This commit is contained in:
@@ -675,9 +675,9 @@ void FakeVimPluginPrivate::readSettings(QSettings *settings)
|
|||||||
|
|
||||||
void FakeVimPluginPrivate::maybeReadVimRc()
|
void FakeVimPluginPrivate::maybeReadVimRc()
|
||||||
{
|
{
|
||||||
qDebug() << theFakeVimSetting(ConfigReadVimRc)
|
//qDebug() << theFakeVimSetting(ConfigReadVimRc)
|
||||||
<< theFakeVimSetting(ConfigReadVimRc)->value();
|
// << theFakeVimSetting(ConfigReadVimRc)->value();
|
||||||
qDebug() << theFakeVimSetting(ConfigShiftWidth)->value();
|
//qDebug() << theFakeVimSetting(ConfigShiftWidth)->value();
|
||||||
if (!theFakeVimSetting(ConfigReadVimRc)->value().toBool())
|
if (!theFakeVimSetting(ConfigReadVimRc)->value().toBool())
|
||||||
return;
|
return;
|
||||||
QString fileName =
|
QString fileName =
|
||||||
@@ -689,7 +689,7 @@ void FakeVimPluginPrivate::maybeReadVimRc()
|
|||||||
FakeVimHandler handler(&editor);
|
FakeVimHandler handler(&editor);
|
||||||
handler.handleCommand("source " + fileName);
|
handler.handleCommand("source " + fileName);
|
||||||
theFakeVimSettings()->writeSettings(Core::ICore::instance()->settings());
|
theFakeVimSettings()->writeSettings(Core::ICore::instance()->settings());
|
||||||
qDebug() << theFakeVimSetting(ConfigShiftWidth)->value();
|
//qDebug() << theFakeVimSetting(ConfigShiftWidth)->value();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FakeVimPluginPrivate::showSettingsDialog()
|
void FakeVimPluginPrivate::showSettingsDialog()
|
||||||
|
|||||||
Reference in New Issue
Block a user