mirror of
https://github.com/tnodir/fort
synced 2024-11-15 04:45:59 +00:00
UI: AppInfoCache: Update default app icon
This commit is contained in:
parent
3d3f332425
commit
99be09d768
@ -49,8 +49,7 @@ QIcon AppInfoCache::appIcon(const QString &appPath, const QString &nullIconPath)
|
||||
if (!image.isNull()) {
|
||||
pixmap = QPixmap::fromImage(image);
|
||||
} else {
|
||||
pixmap = IconCache::file(
|
||||
nullIconPath.isEmpty() ? ":/icons/application-window-96.png" : nullIconPath);
|
||||
pixmap = IconCache::file(nullIconPath.isEmpty() ? ":/icons/application.png" : nullIconPath);
|
||||
}
|
||||
|
||||
IconCache::insert(appPath, pixmap);
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include <sqlite/sqlitestmt.h>
|
||||
|
||||
#include <appinfo/appinfocache.h>
|
||||
#include <appinfo/appinfoutil.h>
|
||||
#include <conf/appgroup.h>
|
||||
#include <conf/confmanager.h>
|
||||
#include <conf/firewallconf.h>
|
||||
|
Loading…
Reference in New Issue
Block a user