Calling signals from outside is only possible with Qt5. This is probably the wrong hack anyway

master
Marius Kintel 2014-10-12 23:13:15 -04:00
parent 1cc4f6be53
commit c577c7e501
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ QString ScintillaEditor::toPlainText()
void ScintillaEditor::setContentModified(bool modified)
{
// FIXME: Due to an issue with QScintilla, we need to do this on the document itself.
#if QSCINTILLA_VERSION >= 0x020800
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
qsci->SCN_SAVEPOINTLEFT();
#endif
qsci->setModified(modified);