Permalink
Browse files

fixed a scroll bug

  • Loading branch information...
1 parent 53db053 commit dccaf32c6160afbef4bbab5ad51562d82cc270d7 xunxin committed Jun 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 mainwindow.cpp
View
@@ -485,7 +485,7 @@ void MainWindow::hunterFinished(int exitCode, QProcess::ExitStatus) {
!y.isNull() && y.canConvert<int>()) {
//qDebug() << "Scroll the page to point (" << x.toInt() <<
//"," << y.toInt() << ")" << endl;
- frame->scroll(x.toInt(), y.toInt());
+ frame->setScrollPosition(QPoint(x.toInt(), y.toInt()));
}
}

0 comments on commit dccaf32

Please sign in to comment.