forked from qt-creator/qt-creator
Git: Do not reuse RemoteAdditionDialog
There's no reason. Move it to the cpp file while at it. Change-Id: I365443fa58db278777ec2f06ea172e9f91992287 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
861d30cf68
commit
8d5e8f6874
@@ -30,39 +30,10 @@
|
||||
namespace Git {
|
||||
namespace Internal {
|
||||
|
||||
namespace Ui {
|
||||
class RemoteDialog;
|
||||
class RemoteAdditionDialog;
|
||||
} // namespace Ui
|
||||
namespace Ui { class RemoteDialog; }
|
||||
|
||||
class GitClient;
|
||||
class RemoteModel;
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// RemoteAdditionDialog:
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
class RemoteAdditionDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit RemoteAdditionDialog(QWidget *parent = 0);
|
||||
~RemoteAdditionDialog() override;
|
||||
|
||||
QString remoteName() const;
|
||||
QString remoteUrl() const;
|
||||
|
||||
void clear();
|
||||
|
||||
private:
|
||||
Ui::RemoteAdditionDialog *m_ui;
|
||||
};
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// RemoteDialog:
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
class RemoteDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -85,7 +56,6 @@ private:
|
||||
Ui::RemoteDialog *m_ui;
|
||||
|
||||
RemoteModel *m_remoteModel;
|
||||
RemoteAdditionDialog *m_addDialog = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user