summaryrefslogtreecommitdiff
path: root/src/plugins/git/gerrit/gerritpushdialog.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-05-06 21:04:01 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-05-07 11:00:47 +0200
commit838ce020a8e6f6899c48f20411a0109a6cfb3b34 (patch)
tree886055f4d916a2a58deec3ae22c6c84301660fac /src/plugins/git/gerrit/gerritpushdialog.h
parent002fa92a34be41bdaf0ded1d74444b41c6d2dec6 (diff)
downloadqt-creator-838ce020a8e6f6899c48f20411a0109a6cfb3b34.tar.gz
Git: Some cleanup in GerritPushDialog
Change-Id: I452f7d929d9abc1224fa9f694c106345dcc96caa Reviewed-by: Petar Perisin <petar.perisin@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/gerrit/gerritpushdialog.h')
-rw-r--r--src/plugins/git/gerrit/gerritpushdialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/git/gerrit/gerritpushdialog.h b/src/plugins/git/gerrit/gerritpushdialog.h
index 8bbddcaaf1..30259ee66e 100644
--- a/src/plugins/git/gerrit/gerritpushdialog.h
+++ b/src/plugins/git/gerrit/gerritpushdialog.h
@@ -31,6 +31,7 @@
#define GERRITPUSHDIALOG_H
#include <QDialog>
+#include <QMultiMap>
namespace Gerrit {
namespace Internal {
@@ -60,12 +61,14 @@ private slots:
void setRemoteBranches();
private:
+ typedef QMultiMap<QString, QString> RemoteBranchesMap;
+
QString calculateChangeRange();
QString m_workingDir;
QString m_suggestedRemoteName;
QString m_suggestedRemoteBranch;
Ui::GerritPushDialog *m_ui;
- QMap<QString,QString> *m_remoteBranches;
+ RemoteBranchesMap m_remoteBranches;
bool m_localChangesFound;
bool m_valid;
};
@@ -73,4 +76,5 @@ private:
} // namespace Internal
} // namespace Gerrit
+
#endif // GERRITPUSHDIALOG_H