forked from qt-creator/qt-creator
Gerrit: Remove the "Always prompt" setting
It's confusing. The user can just choose the path in the dialog rather than in a popup Change-Id: I91422ec9baf5508d3e3d2e552afc6b955fd84748 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
efecd15b1e
commit
f7db3258b4
@@ -432,10 +432,8 @@ void GerritPlugin::fetch(const QSharedPointer<Gerrit::Internal::GerritChange> &c
|
||||
|
||||
QString repository;
|
||||
bool verifiedRepository = false;
|
||||
if (!m_dialog.isNull() && !m_parameters.isNull() && !m_parameters->promptPath
|
||||
&& QFile::exists(m_dialog->repositoryPath())) {
|
||||
if (!m_dialog.isNull() && !m_parameters.isNull() && QFile::exists(m_dialog->repositoryPath()))
|
||||
repository = client->findRepositoryForDirectory(m_dialog->repositoryPath());
|
||||
}
|
||||
|
||||
if (!repository.isEmpty()) {
|
||||
// Check if remote from a working dir is the same as remote from patch
|
||||
|
||||
Reference in New Issue
Block a user