assets: remove unused icons

This commit is contained in:
tobtoht 2023-03-29 11:26:10 +02:00
parent 32fa222c8d
commit badc0f5c8c
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
32 changed files with 8 additions and 29 deletions

View file

@ -1307,7 +1307,7 @@ void MainWindow::onDeviceButtonRequest(quint64 code) {
} }
m_splashDialog->setMessage("Confirm action on device to proceed"); m_splashDialog->setMessage("Confirm action on device to proceed");
m_splashDialog->setIcon(QPixmap(":/assets/images/confirmed.png")); m_splashDialog->setIcon(QPixmap(":/assets/images/confirmed.svg"));
m_splashDialog->show(); m_splashDialog->show();
m_splashDialog->setEnabled(true); m_splashDialog->setEnabled(true);
break; break;

View file

@ -13,10 +13,7 @@
<file>assets/images/appicons/128x128.png</file> <file>assets/images/appicons/128x128.png</file>
<file>assets/images/appicons/256x256.png</file> <file>assets/images/appicons/256x256.png</file>
<file>assets/images/arrow.svg</file> <file>assets/images/arrow.svg</file>
<file>assets/images/banners/1.png</file>
<file>assets/images/banners/2.png</file>
<file>assets/images/banners/3.png</file> <file>assets/images/banners/3.png</file>
<file>assets/images/bitcoin.png</file>
<file>assets/images/camera_dark.png</file> <file>assets/images/camera_dark.png</file>
<file>assets/images/camera_white.png</file> <file>assets/images/camera_white.png</file>
<file>assets/images/change_account.png</file> <file>assets/images/change_account.png</file>
@ -29,21 +26,16 @@
<file>assets/images/coins.png</file> <file>assets/images/coins.png</file>
<file>assets/images/coldcard.png</file> <file>assets/images/coldcard.png</file>
<file>assets/images/coldcard_unpaired.png</file> <file>assets/images/coldcard_unpaired.png</file>
<file>assets/images/confirmed.png</file>
<file>assets/images/confirmed_icon.png</file>
<file>assets/images/confirmed.svg</file> <file>assets/images/confirmed.svg</file>
<file>assets/images/connect.svg</file> <file>assets/images/connect.svg</file>
<file>assets/images/copy.png</file> <file>assets/images/copy.png</file>
<file>assets/images/cutexmrfox.png</file>
<file>assets/images/edit.png</file> <file>assets/images/edit.png</file>
<file>assets/images/external-link.svg</file> <file>assets/images/external-link.svg</file>
<file>assets/images/exchange.png</file> <file>assets/images/exchange.png</file>
<file>assets/images/exchange_white.png</file> <file>assets/images/exchange_white.png</file>
<file>assets/images/expired.png</file> <file>assets/images/expired.png</file>
<file>assets/images/expired_icon.png</file>
<file>assets/images/eye1.png</file> <file>assets/images/eye1.png</file>
<file>assets/images/eye_blind.png</file> <file>assets/images/eye_blind.png</file>
<file>assets/images/feather.png</file>
<file>assets/images/file.png</file> <file>assets/images/file.png</file>
<file>assets/images/file_manager_32px.png</file> <file>assets/images/file_manager_32px.png</file>
<file>assets/images/gnome-calc.png</file> <file>assets/images/gnome-calc.png</file>
@ -64,8 +56,6 @@
<file>assets/images/localMonero_sell_white.svg</file> <file>assets/images/localMonero_sell_white.svg</file>
<file>assets/images/localMonero_logo.png</file> <file>assets/images/localMonero_logo.png</file>
<file>assets/images/localMonero_register.svg</file> <file>assets/images/localMonero_register.svg</file>
<file>assets/images/lock.png</file>
<file>assets/images/lock_icon.png</file>
<file>assets/images/lock.svg</file> <file>assets/images/lock.svg</file>
<file>assets/images/microphone.png</file> <file>assets/images/microphone.png</file>
<file>assets/images/mining.png</file> <file>assets/images/mining.png</file>
@ -73,7 +63,6 @@
<file>assets/images/nw_32px.png</file> <file>assets/images/nw_32px.png</file>
<file>assets/images/offline_tx.png</file> <file>assets/images/offline_tx.png</file>
<file>assets/images/person.svg</file> <file>assets/images/person.svg</file>
<file>assets/images/preferences.png</file>
<file>assets/images/preferences.svg</file> <file>assets/images/preferences.svg</file>
<file>assets/images/qrcode.png</file> <file>assets/images/qrcode.png</file>
<file>assets/images/qrcode_white.png</file> <file>assets/images/qrcode_white.png</file>
@ -89,19 +78,11 @@
<file>assets/images/seed.png</file> <file>assets/images/seed.png</file>
<file>assets/images/settings_disabled_32px.png</file> <file>assets/images/settings_disabled_32px.png</file>
<file>assets/images/speaker.png</file> <file>assets/images/speaker.png</file>
<file>assets/images/status_connected_fork.png</file>
<file>assets/images/status_connected.png</file>
<file>assets/images/status_connected_proxy_fork.png</file>
<file>assets/images/status_connected_proxy.png</file>
<file>assets/images/status_connected_proxy.svg</file> <file>assets/images/status_connected_proxy.svg</file>
<file>assets/images/status_connected.svg</file> <file>assets/images/status_connected.svg</file>
<file>assets/images/status_disconnected.png</file>
<file>assets/images/status_disconnected.svg</file> <file>assets/images/status_disconnected.svg</file>
<file>assets/images/status_lagging_fork.png</file>
<file>assets/images/status_lagging.png</file>
<file>assets/images/status_lagging.svg</file> <file>assets/images/status_lagging.svg</file>
<file>assets/images/status_offline.svg</file> <file>assets/images/status_offline.svg</file>
<file>assets/images/status_waiting.png</file>
<file>assets/images/status_waiting.svg</file> <file>assets/images/status_waiting.svg</file>
<file>assets/images/tab_addresses.png</file> <file>assets/images/tab_addresses.png</file>
<file>assets/images/tab_coins.png</file> <file>assets/images/tab_coins.png</file>
@ -120,13 +101,11 @@
<file>assets/images/trezor_unpaired.png</file> <file>assets/images/trezor_unpaired.png</file>
<file>assets/images/trezor_unpaired_white.png</file> <file>assets/images/trezor_unpaired_white.png</file>
<file>assets/images/unconfirmed.png</file> <file>assets/images/unconfirmed.png</file>
<file>assets/images/unlock.png</file>
<file>assets/images/unlock.svg</file> <file>assets/images/unlock.svg</file>
<file>assets/images/unpaid.png</file> <file>assets/images/unpaid.png</file>
<file>assets/images/update.png</file> <file>assets/images/update.png</file>
<file>assets/images/warning.png</file> <file>assets/images/warning.png</file>
<file>assets/images/vrdp_32px.png</file> <file>assets/images/vrdp_32px.png</file>
<file>assets/images/xmrig.ico</file>
<file>assets/images/xmrig.svg</file> <file>assets/images/xmrig.svg</file>
<file>assets/images/zoom.png</file> <file>assets/images/zoom.png</file>
<file>assets/restore_heights_monero_mainnet.txt</file> <file>assets/restore_heights_monero_mainnet.txt</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View file

@ -18,7 +18,7 @@ PasswordChangeDialog::PasswordChangeDialog(QWidget *parent, Wallet *wallet)
"Your wallet is password protected and encrypted. Use this dialog to change your password."; "Your wallet is password protected and encrypted. Use this dialog to change your password.";
ui->label_warning->setText(warning_str); ui->label_warning->setText(warning_str);
QPixmap pixmap = noPassword ? QPixmap(":/assets/images/unlock.png") : QPixmap(":/assets/images/lock.png"); QPixmap pixmap = noPassword ? QPixmap(":/assets/images/unlock.svg") : QPixmap(":/assets/images/lock.svg");
ui->icon->setPixmap(pixmap.scaledToWidth(32, Qt::SmoothTransformation)); ui->icon->setPixmap(pixmap.scaledToWidth(32, Qt::SmoothTransformation));
if (noPassword) { if (noPassword) {

View file

@ -34,11 +34,11 @@ void TorInfoDialog::onConnectionStatusChanged(bool connected) {
ui->label_testConnectionStatus->setText("Not running"); ui->label_testConnectionStatus->setText("Not running");
} }
else if (connected) { else if (connected) {
ui->icon_connectionStatus->setPixmap(QPixmap(":/assets/images/status_connected.png").scaledToWidth(16, Qt::SmoothTransformation)); ui->icon_connectionStatus->setPixmap(QPixmap(":/assets/images/status_connected.svg").scaledToWidth(16, Qt::SmoothTransformation));
ui->label_testConnectionStatus->setText("Connected"); ui->label_testConnectionStatus->setText("Connected");
} }
else { else {
ui->icon_connectionStatus->setPixmap(QPixmap(":/assets/images/status_disconnected.png").scaledToWidth(16, Qt::SmoothTransformation)); ui->icon_connectionStatus->setPixmap(QPixmap(":/assets/images/status_disconnected.svg").scaledToWidth(16, Qt::SmoothTransformation));
ui->label_testConnectionStatus->setText("Disconnected"); ui->label_testConnectionStatus->setText("Disconnected");
} }
} }

View file

@ -16,7 +16,7 @@ VerifyProofDialog::VerifyProofDialog(Wallet *wallet, QWidget *parent)
{ {
ui->setupUi(this); ui->setupUi(this);
m_success = QPixmap(":/assets/images/confirmed.png").scaled(32, 32, Qt::KeepAspectRatio, Qt::SmoothTransformation); m_success = QPixmap(":/assets/images/confirmed.svg").scaled(32, 32, Qt::KeepAspectRatio, Qt::SmoothTransformation);
m_failure = QPixmap(":/assets/images/expired.png").scaled(32, 32, Qt::KeepAspectRatio, Qt::SmoothTransformation); m_failure = QPixmap(":/assets/images/expired.png").scaled(32, 32, Qt::KeepAspectRatio, Qt::SmoothTransformation);
ui->frame_status->hide(); ui->frame_status->hide();

View file

@ -95,7 +95,7 @@ QVariant TransactionHistoryModel::data(const QModelIndex &index, int role) const
else if (tInfo.confirmations() < tInfo.confirmationsRequired()) else if (tInfo.confirmations() < tInfo.confirmationsRequired())
result = QVariant(icons()->icon("clock5.png")); result = QVariant(icons()->icon("clock5.png"));
else if (tInfo.confirmations()) else if (tInfo.confirmations())
result = QVariant(icons()->icon("confirmed.png")); result = QVariant(icons()->icon("confirmed.svg"));
} }
} }
} }

View file

@ -280,7 +280,7 @@ bool xdgDesktopEntryRegister() {
return false; return false;
#endif #endif
QPixmap appIcon(":assets/images/feather.png"); QPixmap appIcon(":assets/images/appicons/64x64.png");
QString pathIcon = QString("%1/.local/share/icons/feather.png").arg(QDir::homePath()); QString pathIcon = QString("%1/.local/share/icons/feather.png").arg(QDir::homePath());
if (!fileExists(pathIcon)) { if (!fileExists(pathIcon)) {
pixmapWrite(pathIcon, appIcon); pixmapWrite(pathIcon, appIcon);

View file

@ -13,7 +13,7 @@ PageSetPassword::PageSetPassword(WizardFields *fields, QWidget *parent)
ui->setupUi(this); ui->setupUi(this);
this->setFinalPage(true); this->setFinalPage(true);
QPixmap pixmap = QPixmap(":/assets/images/lock.png"); QPixmap pixmap = QPixmap(":/assets/images/lock.svg");
ui->icon->setPixmap(pixmap.scaledToWidth(32, Qt::SmoothTransformation)); ui->icon->setPixmap(pixmap.scaledToWidth(32, Qt::SmoothTransformation));
connect(ui->line_password, &QLineEdit::textChanged, [this]{ connect(ui->line_password, &QLineEdit::textChanged, [this]{