NOISSUE Some happy little refactors

This commit is contained in:
Petr Mrázek
2021-11-20 16:22:22 +01:00
parent eafeb64dec
commit 0c861db7a2
142 changed files with 812 additions and 694 deletions

View File

@@ -19,7 +19,7 @@
#include "BaseInstance.h"
#include "pages/BasePage.h"
#include <Launcher.h>
#include <Application.h>
namespace Ui
{
@@ -39,9 +39,9 @@ public:
}
virtual QIcon icon() const override
{
auto icon = LAUNCHER->getThemedIcon("notes");
auto icon = APPLICATION->getThemedIcon("notes");
if(icon.isNull())
icon = LAUNCHER->getThemedIcon("news");
icon = APPLICATION->getThemedIcon("news");
return icon;
}
virtual QString id() const override