From 9811e89459bdab9dba3b2ae8ed2f29d5982e24ac Mon Sep 17 00:00:00 2001 From: reionwong Date: Mon, 30 Aug 2021 23:51:42 +0800 Subject: [PATCH] Fix solid 5.71 --- model/placesitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/placesitem.cpp b/model/placesitem.cpp index 4ee946e..2bc0485 100644 --- a/model/placesitem.cpp +++ b/model/placesitem.cpp @@ -116,7 +116,7 @@ void PlacesItem::updateDeviceInfo(const QString &udi) m_iconName = m_device.icon(); m_iconPath = QString("%1.svg").arg(m_iconName); -#if SOLID_BUILD_DEPRECATED_SINCE(5, 71) +#if SOLID_ENABLE_DEPRECATED_SINCE(5, 71) m_displayName = m_device.displayName(); #elif m_displayName = m_device.description();