mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-03 15:15:37 -05:00
Fix warnings
This commit is contained in:
@@ -217,7 +217,7 @@ void deleteLayoutItem(QLayoutItem *item)
|
||||
void clearLayout(QLayout *layout, int afterIdx)
|
||||
{
|
||||
QLayoutItem *item;
|
||||
while (item = layout->takeAt(afterIdx)) {
|
||||
while ((item = layout->takeAt(afterIdx))) {
|
||||
if (item->layout()) {
|
||||
clearLayout(item->layout());
|
||||
delete item->layout();
|
||||
|
||||
Reference in New Issue
Block a user