Skip to content

Commit 3ea9c2a

Browse files
authored
Fix GUI compilation errors before qt5.14
1 parent 1201ee7 commit 3ea9c2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GUI/src/mainwindow.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,11 @@ void MainWindow::on_actionAbout_triggered()
14601460
{
14611461
QString processors =
14621462
QString{ Anime4KCPP::CoreInfo::supportedProcessors() }.
1463+
#if (QT_VERSION <= QT_VERSION_CHECK(5,14,0))
1464+
split(',', QString::SkipEmptyParts).
1465+
#else
14631466
split(',', Qt::SkipEmptyParts).
1467+
#endif
14641468
join("\n ").
14651469
insert(0, "\n ");
14661470

0 commit comments

Comments
 (0)