Replace getThemedIcon with APPLICATION->logo()

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-09-19 00:03:22 +01:00
parent 1724bdaeb9
commit cd4f119e4b
67 changed files with 93 additions and 133 deletions

View File

@@ -36,6 +36,7 @@
*/
#include "ServersPage.h"
#include "Application.h"
#include "ServerPingTask.h"
#include "ui/dialogs/CustomMessageBox.h"
#include "ui_ServersPage.h"
@@ -319,7 +320,7 @@ class ServersModel : public QAbstractListModel {
if (px.loadFromData(bytes))
return QIcon(px);
}
return APPLICATION->getThemedIcon("unknown_server");
return QIcon::fromTheme("unknown_server");
}
case 1:
return m_servers[row].m_address;