Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 290aa31

Browse files
committed
Fix Qt 5.12 compatibility (for ubuntu LTS)
1 parent 9750633 commit 290aa31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/smallwidgets/scheduleentrycreationdialog.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@ QString ScheduleEntryCreationDialog::title() const
3333

3434
QString ScheduleEntryCreationDialog::comment() const
3535
{
36+
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
3637
return ui_commentEdit->toMarkdown();
38+
#else
39+
return ui_commentEdit->toPlainText();
40+
#endif
3741
}

0 commit comments

Comments
 (0)