diff --git a/libsearch/appdata/application-info.cpp b/libsearch/appdata/application-info.cpp index 4fac264..b15c4c0 100644 --- a/libsearch/appdata/application-info.cpp +++ b/libsearch/appdata/application-info.cpp @@ -88,4 +88,6 @@ bool ApplicationInfo::desktopFilePathFromName(const QString &desktopFileName, QS bool ApplicationInfo::tranWinIdToDesktopFilePath(const QVariant &winId, QString &desktopFilePath) { return d->m_infoTable->tranWinIdToDesktopFilePath(winId, desktopFilePath); -} \ No newline at end of file +} + +ApplicationInfo::~ApplicationInfo() = default; diff --git a/libsearch/appdata/application-info.h b/libsearch/appdata/application-info.h index 15642a4..3c15acb 100644 --- a/libsearch/appdata/application-info.h +++ b/libsearch/appdata/application-info.h @@ -30,7 +30,7 @@ class ApplicationInfo : public QObject Q_OBJECT public: explicit ApplicationInfo(QObject *parent = nullptr); - ~ApplicationInfo() = default; + ~ApplicationInfo(); /** * @brief getInfo 查询单个应用的单个属性 * @param desktopFile