aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 601ddd0..11ad9fb 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -144,7 +144,7 @@ void BrowserTab::navigateTo(const QUrl &url, PushToHistory mode)
this->updateUI();
}
-void BrowserTab::navigateBack(QModelIndex history_index)
+void BrowserTab::navigateBack(const QModelIndex &history_index)
{
auto url = history.get(history_index);