forked from qt-creator/qt-creator
Git: Use indexes to address pretty printing combobox
This fixes a incompatibility with the config settings. Change-Id: I518291af2309acfaba7eea78b22519c283114009 Reviewed-on: http://codereview.qt-project.org/6161 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
@@ -192,7 +192,7 @@ public:
|
|||||||
<< ComboBoxItem(tr("email"), QLatin1String("email"))
|
<< ComboBoxItem(tr("email"), QLatin1String("email"))
|
||||||
<< ComboBoxItem(tr("raw"), QLatin1String("raw"));
|
<< ComboBoxItem(tr("raw"), QLatin1String("raw"));
|
||||||
mapSetting(addComboBox(QLatin1String("--pretty"), prettyChoices),
|
mapSetting(addComboBox(QLatin1String("--pretty"), prettyChoices),
|
||||||
m_client->settings()->stringPointer(GitSettings::showPrettyFormatKey));
|
m_client->settings()->intPointer(GitSettings::showPrettyFormatKey));
|
||||||
}
|
}
|
||||||
|
|
||||||
void executeCommand()
|
void executeCommand()
|
||||||
|
|||||||
Reference in New Issue
Block a user