mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-17 09:27:17 +00:00
NOISSUE Comment and bugfix the Resource system
This commit is contained in:
committed by
Petr Mrázek
parent
24db645167
commit
1e51b62c88
@@ -15,6 +15,7 @@ void IconResourceHandler::setTheme(const QString &theme)
|
||||
{
|
||||
m_theme = theme;
|
||||
|
||||
// notify everyone
|
||||
for (auto handler : m_iconHandlers)
|
||||
{
|
||||
std::shared_ptr<IconResourceHandler> ptr = handler.lock();
|
||||
@@ -28,6 +29,7 @@ void IconResourceHandler::setTheme(const QString &theme)
|
||||
void IconResourceHandler::init(std::shared_ptr<ResourceHandler> &ptr)
|
||||
{
|
||||
m_iconHandlers.append(std::dynamic_pointer_cast<IconResourceHandler>(ptr));
|
||||
// we always have a result, so lets report it now!
|
||||
setResult(get());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user