UI: AppInfoCache: Update default app icon

This commit is contained in:
Nodir Temirkhodjaev 2023-01-26 15:27:41 +03:00
parent 3d3f332425
commit 99be09d768
2 changed files with 1 additions and 3 deletions

View File

@ -49,8 +49,7 @@ QIcon AppInfoCache::appIcon(const QString &appPath, const QString &nullIconPath)
if (!image.isNull()) { if (!image.isNull()) {
pixmap = QPixmap::fromImage(image); pixmap = QPixmap::fromImage(image);
} else { } else {
pixmap = IconCache::file( pixmap = IconCache::file(nullIconPath.isEmpty() ? ":/icons/application.png" : nullIconPath);
nullIconPath.isEmpty() ? ":/icons/application-window-96.png" : nullIconPath);
} }
IconCache::insert(appPath, pixmap); IconCache::insert(appPath, pixmap);

View File

@ -7,7 +7,6 @@
#include <sqlite/sqlitestmt.h> #include <sqlite/sqlitestmt.h>
#include <appinfo/appinfocache.h> #include <appinfo/appinfocache.h>
#include <appinfo/appinfoutil.h>
#include <conf/appgroup.h> #include <conf/appgroup.h>
#include <conf/confmanager.h> #include <conf/confmanager.h>
#include <conf/firewallconf.h> #include <conf/firewallconf.h>