DolphinQt: fix Visual Studio warning about 'assignment within conditional expression'

This commit is contained in:
iwubcode committed 2021-05-15 14:39:03 -05:00
1 parent 05b1566e3f
commit 04a635e884
1 file changed
+1 -2
+1 -2
View File
@@ -66,8 +66,7 @@ FlowLayout::FlowLayout(int margin, int h_spacing, int v_spacing)
FlowLayout::~FlowLayout()
{
QLayoutItem* item;
while ((item = takeAt(0)))
while (QLayoutItem* item = takeAt(0))
delete item;
}