Move icon handling from Resources to gui/Icons (#5506)

This commit is contained in:
louib authored and GitHub committed 2020-10-05 20:41:00 -04:00
1 parent ba8611cf4c
commit af4ecb4aa1
39 files changed
+411 -325

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@
*/
#include "UpdateCheckDialog.h"
#include "core/Resources.h"
#include "gui/Icons.h"
#include "ui_UpdateCheckDialog.h"
#include "updatecheck/UpdateChecker.h"
@@ -28,7 +28,7 @@ UpdateCheckDialog::UpdateCheckDialog(QWidget* parent)
setWindowFlags(Qt::Window);
setAttribute(Qt::WA_DeleteOnClose);
m_ui->iconLabel->setPixmap(resources()->applicationIcon().pixmap(48));
m_ui->iconLabel->setPixmap(icons()->applicationIcon().pixmap(48));
connect(m_ui->buttonBox, SIGNAL(rejected()), SLOT(close()));
connect(UpdateChecker::instance(),