Gerrit: Add topic in Push to Gerrit dialog

Change-Id: I4f2df0d40d7518b1a88595ad2ff52fd50b8ac92d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-04-29 22:37:17 +03:00
committed by Orgad Shaneh
parent 8f3a8d47c1
commit 711315f383
4 changed files with 25 additions and 2 deletions

View File

@@ -197,5 +197,10 @@ QString GerritPushDialog::selectedPushType() const
return m_ui->publicRadioButton->isChecked() ? QLatin1String("for") : QLatin1String("draft");
}
QString GerritPushDialog::selectedTopic() const
{
return m_ui->topicLineEdit->text().trimmed();
}
} // namespace Internal
} // namespace Gerrit