Skip to content

Commit 6ab46c4

Browse files
committed
Fix build for Scintilla
Scintilla added SCI_SCROLLVERTICAL which interferes with a preexisting method used for a slot
1 parent 91ab4a7 commit 6ab46c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NotepadNext/decorators/HighlightedScrollBar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const QColor CURSOR_CARET_COLOR = QColor(0, 0, 0, 100);
3232
HighlightedScrollBarDecorator::HighlightedScrollBarDecorator(ScintillaNext *editor)
3333
: EditorDecorator(editor), scrollBar(new HighlightedScrollBar(editor, Qt::Vertical, editor))
3434
{
35-
connect(scrollBar, &QScrollBar::valueChanged, editor, &ScintillaEdit::scrollVertical);
35+
connect(scrollBar, &QScrollBar::valueChanged, editor, &ScintillaEditBase::scrollVertical);
3636

3737
editor->setVerticalScrollBar(scrollBar);
3838
}

0 commit comments

Comments
 (0)