summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-03-03 12:41:43 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2010-03-03 12:41:43 +0100
commit479afef6b760849df654226861e264ddd735632d (patch)
tree45d8ef7a3b9eaddcb41036a494352ee5f9749813 /src/mainwindow.cpp
parentFix the move of the page whith case sensitive (diff)
downloadrekonq-479afef6b760849df654226861e264ddd735632d.tar.xz
variable names ...
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 7c30198f..a6f1428f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -795,9 +795,9 @@ void MainWindow::findNext()
if(m_findBar->isHidden())
{
- QPoint test = currentTab()->view()->page()->currentFrame()->scrollPosition();
+ QPoint previous_position = currentTab()->view()->page()->currentFrame()->scrollPosition();
currentTab()->view()->page()->focusNextPrevChild(true);
- currentTab()->view()->page()->currentFrame()->setScrollPosition(test);
+ currentTab()->view()->page()->currentFrame()->setScrollPosition(previous_position);
return;
}
@@ -809,9 +809,9 @@ void MainWindow::findNext()
m_findBar->notifyMatch(found);
if(!found)
{
- QPoint test = currentTab()->view()->page()->currentFrame()->scrollPosition();
+ QPoint previous_position = currentTab()->view()->page()->currentFrame()->scrollPosition();
currentTab()->view()->page()->focusNextPrevChild(true);
- currentTab()->view()->page()->currentFrame()->setScrollPosition(test);
+ currentTab()->view()->page()->currentFrame()->setScrollPosition(previous_position);
}
}