aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/branchmodel.h
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2010-01-27 12:47:14 +0100
committerFriedemann Kleint <[email protected]>2010-01-27 12:47:23 +0100
commit18ab532e5607b528fde3bf5dcc67cded0c4a1477 (patch)
treed8b2faff5c1ca59e5fe3818f57728c8ab03d10a3 /src/plugins/git/branchmodel.h
parent8ecc80ec4c11cdd4f13602251348d8c1b087c954 (diff)
VCS[git]: Make Branchdialog non-modal as is StashDialog.
Give dialogs a consistent look, set WA_DeleteOnClose on them and improve updating. Add a Refresh/Diff buttons to branch dialog.
Diffstat (limited to 'src/plugins/git/branchmodel.h')
-rw-r--r--src/plugins/git/branchmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/git/branchmodel.h b/src/plugins/git/branchmodel.h
index a4979abb0a0..e36af0aad6a 100644
--- a/src/plugins/git/branchmodel.h
+++ b/src/plugins/git/branchmodel.h
@@ -49,6 +49,7 @@ class RemoteBranchModel : public QAbstractListModel {
public:
explicit RemoteBranchModel(GitClient *client, QObject *parent = 0);
+ virtual void clear();
virtual bool refresh(const QString &workingDirectory, QString *errorMessage);
QString branchName(int row) const;
@@ -100,6 +101,7 @@ public:
explicit LocalBranchModel(GitClient *client,
QObject *parent = 0);
+ virtual void clear();
virtual bool refresh(const QString &workingDirectory, QString *errorMessage);
// is this the "type here" row?