aboutsummaryrefslogtreecommitdiff
path: root/src/tabbrowsinghistory.hpp
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2020-12-30 16:01:26 +0100
committerFelix Queißner <felix@ib-queissner.de>2020-12-30 20:31:39 +0100
commit54c4fc7b36fea598d3b35ff9d00c451eefcaf710 (patch)
tree58f9ae4abb520e774fef4ece031b03bbb4c4fa24 /src/tabbrowsinghistory.hpp
parent07a4ddc230c11c7249acd4c0363c6075e939f11b (diff)
downloadkristall-54c4fc7b36fea598d3b35ff9d00c451eefcaf710.tar.gz
const-reference large types
Diffstat (limited to 'src/tabbrowsinghistory.hpp')
-rw-r--r--src/tabbrowsinghistory.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabbrowsinghistory.hpp b/src/tabbrowsinghistory.hpp
index 4305218..8adee30 100644
--- a/src/tabbrowsinghistory.hpp
+++ b/src/tabbrowsinghistory.hpp
@@ -20,9 +20,9 @@ public:
QUrl get(QModelIndex const & index) const;
- QModelIndex oneForward(QModelIndex index) const;
+ QModelIndex oneForward(const QModelIndex &index) const;
- QModelIndex oneBackward(QModelIndex index) const;
+ QModelIndex oneBackward(const QModelIndex &index) const;
public:
int rowCount(const QModelIndex &parent = QModelIndex()) const override;