From 5a04e918354d53d45e40c09358f115478d2ec3da Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Wed, 4 Feb 2015 06:59:28 +0000 Subject: [PATCH] fix for Qt4 --- src/audiomixerboard.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/audiomixerboard.cpp b/src/audiomixerboard.cpp index 1a530fcc..f607d8e5 100755 --- a/src/audiomixerboard.cpp +++ b/src/audiomixerboard.cpp @@ -209,11 +209,13 @@ void CChannelFader::Reset() strReceivedName = ""; SetupFaderTag ( SL_NOT_SET ); - // set a defined tool tip time out + // set a defined tool tip time out (only available in Qt5) +#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) const int iToolTipDurMs = 30000; - plblLabel->setToolTipDuration ( iToolTipDurMs ); - plblInstrument->setToolTipDuration ( iToolTipDurMs ); + plblLabel->setToolTipDuration ( iToolTipDurMs ); + plblInstrument->setToolTipDuration ( iToolTipDurMs ); plblCountryFlag->setToolTipDuration ( iToolTipDurMs ); +#endif bOtherChannelIsSolo = false; }