mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: Address (Windows) compile warnings (#840)
* Windows compile errors and (Qt 5.15 deprecation) warnings * Usability - Enable/Disable Instance button Co-authored-by: brindosch <edeltraud70@gmx.de>
This commit is contained in:
@@ -90,8 +90,11 @@ void BoblightClientConnection::socketClosed()
|
||||
void BoblightClientConnection::handleMessage(const QString & message)
|
||||
{
|
||||
//std::cout << "boblight message: " << message.toStdString() << std::endl;
|
||||
|
||||
QStringList messageParts = message.split(" ", QString::SkipEmptyParts);
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
|
||||
QStringList messageParts = message.split(" ", Qt::SkipEmptyParts);
|
||||
#else
|
||||
QStringList messageParts = message.split(" ", QString::SkipEmptyParts);
|
||||
#endif
|
||||
|
||||
if (messageParts.size() > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user