mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
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:
parent
7c832d2d84
commit
2148f86b27
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user