Fix a compilation error with Qt 5.15.x.

This commit is contained in:
Uwe Risse 2022-11-13 09:49:43 +01:00
parent 2b08cd9e4b
commit 940b26e6ea

View File

@ -9816,8 +9816,13 @@ void MainWindow::foxTest()
if(line_trimmed.startsWith("Hound:")) {
t=line_trimmed.mid(6,-1).trimmed();
b_hounds_written = true;
//sdiag << t << Qt::endl;
houndstream << t << Qt::endl;
houndstream << t
#if QT_VERSION >= QT_VERSION_CHECK (5, 15, 0)
<< Qt::endl
#else
<< endl
#endif
;
}
if(line.contains("Del:")) {