Build fixed for Qt4

This commit is contained in:
Matthias Koefferlein 2022-05-27 07:57:04 +02:00
parent 2b568cdd5e
commit 5825b7d0c6
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ has_gui ()
{
#if defined(HAVE_QT)
#if QT_VERSION < 0x50000
return (QApplication::type () != Qt::Tty);
return (QApplication::type () != QApplication::Tty);
#else
return (dynamic_cast<QGuiApplication *> (QCoreApplication::instance ()) != 0);
#endif