diff options
Diffstat (limited to 'src/plugins/git')
-rw-r--r-- | src/plugins/git/branchmodel.cpp | 2 | ||||
-rw-r--r-- | src/plugins/git/remotemodel.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/git/branchmodel.cpp b/src/plugins/git/branchmodel.cpp index 8af16f80ee..3899b7dcd1 100644 --- a/src/plugins/git/branchmodel.cpp +++ b/src/plugins/git/branchmodel.cpp @@ -298,7 +298,7 @@ int BranchModel::rowCount(const QModelIndex &parentIdx) const int BranchModel::columnCount(const QModelIndex &parent) const { - Q_UNUSED(parent); + Q_UNUSED(parent) return 2; } diff --git a/src/plugins/git/remotemodel.cpp b/src/plugins/git/remotemodel.cpp index 62d9930577..0a0f30c1b4 100644 --- a/src/plugins/git/remotemodel.cpp +++ b/src/plugins/git/remotemodel.cpp @@ -110,13 +110,13 @@ int RemoteModel::remoteCount() const int RemoteModel::rowCount(const QModelIndex &parent) const { - Q_UNUSED(parent); + Q_UNUSED(parent) return remoteCount(); } int RemoteModel::columnCount(const QModelIndex &parent) const { - Q_UNUSED(parent); + Q_UNUSED(parent) return 2; } @@ -167,7 +167,7 @@ bool RemoteModel::setData(const QModelIndex &index, const QVariant &value, int r Qt::ItemFlags RemoteModel::flags(const QModelIndex &index) const { - Q_UNUSED(index); + Q_UNUSED(index) return m_flags; } |