aboutsummaryrefslogtreecommitdiff
path: root/src/tabbrowsinghistory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabbrowsinghistory.cpp')
-rw-r--r--src/tabbrowsinghistory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabbrowsinghistory.cpp b/src/tabbrowsinghistory.cpp
index db4a981..5f2cba4 100644
--- a/src/tabbrowsinghistory.cpp
+++ b/src/tabbrowsinghistory.cpp
@@ -41,7 +41,7 @@ QUrl TabBrowsingHistory::get(const QModelIndex &index) const
return history.at(index.row());
}
-QModelIndex TabBrowsingHistory::oneForward(QModelIndex index) const
+QModelIndex TabBrowsingHistory::oneForward(const QModelIndex &index) const
{
if(not index.isValid())
return QModelIndex{};
@@ -50,7 +50,7 @@ QModelIndex TabBrowsingHistory::oneForward(QModelIndex index) const
return createIndex(index.row() + 1, index.column());
}
-QModelIndex TabBrowsingHistory::oneBackward(QModelIndex index) const
+QModelIndex TabBrowsingHistory::oneBackward(const QModelIndex &index) const
{
if(not index.isValid())
return QModelIndex{};