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

Commit

Permalink
Fix Qt 5.12 compatibility (for ubuntu LTS)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Duduf committed Apr 29, 2024
1 parent 9750633 commit 290aa31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/smallwidgets/scheduleentrycreationdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@ QString ScheduleEntryCreationDialog::title() const

QString ScheduleEntryCreationDialog::comment() const
{
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
return ui_commentEdit->toMarkdown();
#else
return ui_commentEdit->toPlainText();
#endif
}

0 comments on commit 290aa31

Please sign in to comment.