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:
Tobias Hunger
2011-10-06 16:20:37 +02:00
parent e919bb969f
commit f654d664ef

View File

@@ -192,7 +192,7 @@ public:
<< ComboBoxItem(tr("email"), QLatin1String("email"))
<< ComboBoxItem(tr("raw"), QLatin1String("raw"));
mapSetting(addComboBox(QLatin1String("--pretty"), prettyChoices),
m_client->settings()->stringPointer(GitSettings::showPrettyFormatKey));
m_client->settings()->intPointer(GitSettings::showPrettyFormatKey));
}
void executeCommand()