Initialized variable
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
42dc3ed03f
commit
e4449a0ba3
@ -170,7 +170,7 @@ void ResourceDownloadDialog::removeResource(const QString& pack_name)
|
||||
|
||||
void ResourceDownloadDialog::setButtonStatus()
|
||||
{
|
||||
bool selected;
|
||||
auto selected = false;
|
||||
for (auto page : m_container->getPages()) {
|
||||
auto res = static_cast<ResourcePage*>(page);
|
||||
selected = selected || res->hasSelectedPacks();
|
||||
|
Loading…
Reference in New Issue
Block a user