remove debug code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22299 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-25 19:01:10 +00:00
parent 7c832d2d84
commit 2148f86b27

View File

@ -479,7 +479,6 @@ void GuiWorkArea::updateScrollbar()
void GuiWorkArea::adjustViewWithScrollBar(int action)
{
stopBlinkingCursor();
// QToolTip::hideText();
if (action == QAbstractSlider::SliderPageStepAdd)
buffer_view_->scrollDown(viewport()->height());
else if (action == QAbstractSlider::SliderPageStepSub)
@ -491,13 +490,6 @@ void GuiWorkArea::adjustViewWithScrollBar(int action)
buffer_view_->setCursorFromScrollbar();
lyx_view_->updateLayoutList();
}
/*
lyxerr << "QCursor::pos() = "
<< QCursor::pos().x() << " "
<< QCursor::pos().y() << " "
<<endl;
QToolTip::showText(QCursor::pos(), "toto"), verticalScrollBar());
*/
// Show the cursor immediately after any operation.
startBlinkingCursor();
QApplication::syncX();