mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-18 11:42:47 +00:00
Don't define HomeView member functions needed for updater if ENABLE_UPDATER isn't defined (fix #624)
This commit is contained in:
parent
2ea7ac6fbc
commit
5ced5b2ee6
@ -126,6 +126,8 @@ void HomeView::onResize(ui::ResizeEvent& ev)
|
|||||||
ui::VBox::onResize(ev);
|
ui::VBox::onResize(ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENABLE_UPDATER
|
||||||
|
|
||||||
void HomeView::onCheckingUpdates()
|
void HomeView::onCheckingUpdates()
|
||||||
{
|
{
|
||||||
checkUpdate()->setText("Checking Updates...");
|
checkUpdate()->setText("Checking Updates...");
|
||||||
@ -162,6 +164,8 @@ void HomeView::onNewUpdate(const std::string& url, const std::string& version)
|
|||||||
layout();
|
layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // ENABLE_UPDATER
|
||||||
|
|
||||||
void HomeView::onRecoverSprites()
|
void HomeView::onRecoverSprites()
|
||||||
{
|
{
|
||||||
if (!m_dataRecoveryView)
|
if (!m_dataRecoveryView)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user