aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/remotedialog.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2017-03-04 22:03:02 +0200
committerOrgad Shaneh <orgads@gmail.com>2017-03-04 20:44:15 +0000
commit8d5e8f687456cab5d330d870de95d084773e432f (patch)
treea88aa5b1a3eecdda0f31ff6d058f94f9e1467d7d /src/plugins/git/remotedialog.h
parent861d30cf686466028ddbca65eee7b85316e785b2 (diff)
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>
Diffstat (limited to 'src/plugins/git/remotedialog.h')
-rw-r--r--src/plugins/git/remotedialog.h32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/plugins/git/remotedialog.h b/src/plugins/git/remotedialog.h
index dab24c9b2d1..8495fdc73a8 100644
--- a/src/plugins/git/remotedialog.h
+++ b/src/plugins/git/remotedialog.h
@@ -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