From e53a7fb7fc7d347e741ebaa05afcfc5a7f9499e1 Mon Sep 17 00:00:00 2001 From: octaeder <102688820+octaeder@users.noreply.github.com> Date: Fri, 1 Mar 2024 21:09:56 +0100 Subject: [PATCH] remove unused variable --- src/macrobrowserui.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/macrobrowserui.cpp b/src/macrobrowserui.cpp index 1ff1034bcc..2de1db8f00 100644 --- a/src/macrobrowserui.cpp +++ b/src/macrobrowserui.cpp @@ -179,7 +179,6 @@ void MacroBrowserUI::onRequestCompleted() currentItem->takeChildren(); currentItem->setData(0,PopulatedRole,true); } - QList listOfItems; foreach(auto element,elements){ QJsonObject dd=element.toObject(); if(dd["type"].toString()=="file"){ @@ -190,7 +189,6 @@ void MacroBrowserUI::onRequestCompleted() twi->setData(0,UrlRole,dd["download_url"].toString()); twi->setCheckState(0,Qt::Unchecked); currentItem->addChild(twi); - listOfItems<setData(0,PathRole, path+name); if(!currentItem) treeWidget->addTopLevelItem(item); else item->addChild(item); - listOfItems<