Git: Some cleanup in GerritPushDialog

Change-Id: I452f7d929d9abc1224fa9f694c106345dcc96caa
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-05-06 21:04:01 +03:00
committed by Orgad Shaneh
parent 002fa92a34
commit 838ce020a8
2 changed files with 10 additions and 7 deletions

View File

@@ -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