forked from qt-creator/qt-creator
Git: Move msgRepositoryLabel from StashDialog to GitPlugin
It's being used by many dialogs. Change-Id: I3ef484cf8b9cc56210be1de5b4f201eb2f96ef67 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
5b50854e57
commit
67933e4c1f
@@ -28,7 +28,6 @@
|
||||
#include "gitclient.h"
|
||||
#include "gitplugin.h"
|
||||
#include "remotemodel.h"
|
||||
#include "stashdialog.h" // for messages
|
||||
#include "ui_remotedialog.h"
|
||||
#include "ui_remoteadditiondialog.h"
|
||||
|
||||
@@ -114,7 +113,7 @@ void RemoteDialog::refresh(const QString &repository, bool force)
|
||||
if (m_remoteModel->workingDirectory() == repository && !force)
|
||||
return;
|
||||
// Refresh
|
||||
m_ui->repositoryLabel->setText(StashDialog::msgRepositoryLabel(repository));
|
||||
m_ui->repositoryLabel->setText(GitPlugin::msgRepositoryLabel(repository));
|
||||
if (repository.isEmpty()) {
|
||||
m_remoteModel->clear();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user