Commit f654d664 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

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: default avatarDaniel Teske <daniel.teske@nokia.com>
Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
parent e919bb96
...@@ -192,7 +192,7 @@ public: ...@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment