mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:57:57 +00:00
UI: Update icon
This commit is contained in:
parent
4db2676a03
commit
8fda54d197
@ -169,7 +169,7 @@ QPixmap ProgramEditDialog::appIcon(bool isSingleSelection) const
|
||||
return {};
|
||||
|
||||
if (isWildcard())
|
||||
return IconCache::file(":/icons/asterisk_orange.png");
|
||||
return IconCache::file(":/icons/coding.png");
|
||||
|
||||
return IoC<AppInfoCache>()->appPixmap(m_appRow.appPath);
|
||||
}
|
||||
|
@ -260,7 +260,7 @@ void ProgramsWindow::setupEditMenu()
|
||||
m_actAddApp->setShortcut(Qt::Key_Plus);
|
||||
|
||||
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_actEditApp = editMenu->addAction(IconCache::icon(":/icons/pencil.png"), QString());
|
||||
|
@ -7,11 +7,11 @@
|
||||
<file>icons/application-window-96.png</file>
|
||||
<file>icons/application_double.png</file>
|
||||
<file>icons/arrow_refresh_small.png</file>
|
||||
<file>icons/asterisk_orange.png</file>
|
||||
<file>icons/cancel.png</file>
|
||||
<file>icons/chart_bar.png</file>
|
||||
<file>icons/checklist.png</file>
|
||||
<file>icons/clock.png</file>
|
||||
<file>icons/coding.png</file>
|
||||
<file>icons/cog.png</file>
|
||||
<file>icons/computer-96.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
BIN
src/ui/icons/coding.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
@ -413,7 +413,7 @@ QVariant AppListModel::dataTextAlignment(const QModelIndex &index) const
|
||||
QIcon AppListModel::appIcon(const AppRow &appRow) const
|
||||
{
|
||||
if (appRow.isWildcard) {
|
||||
return IconCache::icon(":/icons/asterisk_orange.png");
|
||||
return IconCache::icon(":/icons/coding.png");
|
||||
}
|
||||
|
||||
return appInfoCache()->appIcon(appRow.appPath);
|
||||
|
Loading…
Reference in New Issue
Block a user