UI: Update icon

This commit is contained in:
Nodir Temirkhodjaev 2024-02-03 18:19:07 +03:00
parent 4db2676a03
commit 8fda54d197
6 changed files with 4 additions and 4 deletions

View File

@ -169,7 +169,7 @@ QPixmap ProgramEditDialog::appIcon(bool isSingleSelection) const
return {}; return {};
if (isWildcard()) if (isWildcard())
return IconCache::file(":/icons/asterisk_orange.png"); return IconCache::file(":/icons/coding.png");
return IoC<AppInfoCache>()->appPixmap(m_appRow.appPath); return IoC<AppInfoCache>()->appPixmap(m_appRow.appPath);
} }

View File

@ -260,7 +260,7 @@ void ProgramsWindow::setupEditMenu()
m_actAddApp->setShortcut(Qt::Key_Plus); m_actAddApp->setShortcut(Qt::Key_Plus);
m_actAddWildcard = m_actAddWildcard =
editMenu->addAction(IconCache::icon(":/icons/asterisk_orange.png"), QString()); editMenu->addAction(IconCache::icon(":/icons/coding.png"), QString());
m_actAddWildcard->setShortcut(QKeyCombination(Qt::CTRL, Qt::Key_N)); m_actAddWildcard->setShortcut(QKeyCombination(Qt::CTRL, Qt::Key_N));
m_actEditApp = editMenu->addAction(IconCache::icon(":/icons/pencil.png"), QString()); m_actEditApp = editMenu->addAction(IconCache::icon(":/icons/pencil.png"), QString());

View File

@ -7,11 +7,11 @@
<file>icons/application-window-96.png</file> <file>icons/application-window-96.png</file>
<file>icons/application_double.png</file> <file>icons/application_double.png</file>
<file>icons/arrow_refresh_small.png</file> <file>icons/arrow_refresh_small.png</file>
<file>icons/asterisk_orange.png</file>
<file>icons/cancel.png</file> <file>icons/cancel.png</file>
<file>icons/chart_bar.png</file> <file>icons/chart_bar.png</file>
<file>icons/checklist.png</file> <file>icons/checklist.png</file>
<file>icons/clock.png</file> <file>icons/clock.png</file>
<file>icons/coding.png</file>
<file>icons/cog.png</file> <file>icons/cog.png</file>
<file>icons/computer-96.png</file> <file>icons/computer-96.png</file>
<file>icons/connect.png</file> <file>icons/connect.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
src/ui/icons/coding.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -413,7 +413,7 @@ QVariant AppListModel::dataTextAlignment(const QModelIndex &index) const
QIcon AppListModel::appIcon(const AppRow &appRow) const QIcon AppListModel::appIcon(const AppRow &appRow) const
{ {
if (appRow.isWildcard) { if (appRow.isWildcard) {
return IconCache::icon(":/icons/asterisk_orange.png"); return IconCache::icon(":/icons/coding.png");
} }
return appInfoCache()->appIcon(appRow.appPath); return appInfoCache()->appIcon(appRow.appPath);