Commit b48f1d68 authored by cerf's avatar cerf Committed by Tobias Hunger

Bazaar: add support of the "max log count" user setting

Merge-request: 327
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 1366b122
......@@ -390,7 +390,9 @@ void BazaarPlugin::logRepository()
{
const VCSBase::VCSBasePluginState state = currentState();
QTC_ASSERT(state.hasTopLevel(), return);
m_client->log(state.topLevel());
QStringList extraOptions;
extraOptions += QString("--limit=%1").arg(settings().logCount());
m_client->log(state.topLevel(), QStringList(), extraOptions);
}
void BazaarPlugin::revertAll()
......
......@@ -94,6 +94,9 @@
<property name="toolTip">
<string>The number of recent commit logs to show, choose 0 to see all enteries</string>
</property>
<property name="maximum">
<number>1000</number>
</property>
</widget>
</item>
<item row="1" column="0">
......
Markdown is supported
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