Skip to content

Commit 4f45994

Browse files
wjyrichdeepin-bot[bot]
authored andcommitted
fix: fix build warnings.
as title. Logs:
1 parent 61fb89f commit 4f45994

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/ddeintegration/appwiz.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AppWiz : public QObject
1515
explicit AppWiz(QObject *parent = nullptr);
1616
~AppWiz();
1717

18-
Q_DECL_DEPRECATED void legacyRequestUninstall(const QString & desktopFileFullPath);
18+
void legacyRequestUninstall(const QString & desktopFileFullPath);
1919

2020
private:
2121
void updateCurrentWallpaperBlurhash();

src/models/frequentlyusedproxymodel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
class FrequentlyUsedProxyModel : public QSortFilterProxyModel, public QQmlParserStatus
1111
{
1212
Q_OBJECT
13+
Q_INTERFACES(QQmlParserStatus)
1314
Q_PROPERTY(QAbstractItemModel* recentlyInstalledModel READ recentlyInstalledModel WRITE setRecentlyInstalledModel NOTIFY recentlyInstalledModelChanged FINAL)
1415
Q_PROPERTY(int desktopIdRole MEMBER m_desktopIdRole NOTIFY desktopIdRoleChanged)
1516
Q_PROPERTY(int launchedTimesRole MEMBER m_launchedTimesRole NOTIFY launchedTimesRoleChanged)

src/models/recentlyinstalledproxymodel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
class RecentlyInstalledProxyModel : public QSortFilterProxyModel, public QQmlParserStatus
1111
{
1212
Q_OBJECT
13+
Q_INTERFACES(QQmlParserStatus)
1314
QML_NAMED_ELEMENT(RecentlyInstalledProxyModel)
1415
Q_PROPERTY(int lastLaunchedTimeRole MEMBER m_lastLaunchedTimeRole NOTIFY lastLaunchedTimeRoleChanged)
1516
Q_PROPERTY(int installedTimeRole MEMBER m_installedTimeRole NOTIFY installedTimeRoleChanged)

0 commit comments

Comments
 (0)