mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Initial iteration for Qt6 port.
This commit is contained in:
@@ -23,11 +23,7 @@ SeerAboutDialog::SeerAboutDialog (QWidget* parent) : QDialog(parent) {
|
||||
text.replace("VERSIONNUMBER", Seer::version());
|
||||
|
||||
// Put the About text in as markdown. Move back to the begining.
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
|
||||
textBrowser->setMarkdown(text);
|
||||
#else
|
||||
textBrowser->setText(text);
|
||||
#endif
|
||||
textBrowser->moveCursor (QTextCursor::Start);
|
||||
|
||||
// Set the TextBrowser's background to the same as the window's.
|
||||
|
||||
Reference in New Issue
Block a user