mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Replace png icons with svg
This commit is contained in:
parent
866408151c
commit
71dcc76a64
206 changed files with 238 additions and 218 deletions
|
@ -67,7 +67,6 @@
|
|||
constexpr int MAX_ALLOWED_FILESIZE = 10 * 1024 * 1024;
|
||||
|
||||
const QString PATH_PREFIX_IMAGES {QStringLiteral("/images/")};
|
||||
const QString PATH_PREFIX_THEME {QStringLiteral("/theme/")};
|
||||
const QString WWW_FOLDER {QStringLiteral(":/www")};
|
||||
const QString PUBLIC_FOLDER {QStringLiteral("/public")};
|
||||
const QString PRIVATE_FOLDER {QStringLiteral("/private")};
|
||||
|
@ -191,12 +190,6 @@ void WebApplication::sendWebUIFile()
|
|||
sendFile(QLatin1String(":/icons/") + imageFilename);
|
||||
return;
|
||||
}
|
||||
|
||||
if (request().path.startsWith(PATH_PREFIX_THEME)) {
|
||||
const QString iconId {request().path.mid(PATH_PREFIX_THEME.size())};
|
||||
sendFile(IconProvider::instance()->getIconPath(iconId));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const QString path {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue