aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorleo78913 <leo3758@riseup.net>2023-01-27 12:40:27 -0300
committerleo78913 <leo3758@riseup.net>2023-01-27 12:40:27 -0300
commitdf8df41621f5ca0dd3fd7100918d689183289b1e (patch)
tree49e612aa80dce9f418420fba3b6c991ce3e0b121 /launcher/ui
parentd5a0d4b452360a148d2bead883726ab2de75d974 (diff)
downloadPrismLauncher-df8df41621f5ca0dd3fd7100918d689183289b1e.tar.gz
PrismLauncher-df8df41621f5ca0dd3fd7100918d689183289b1e.tar.bz2
PrismLauncher-df8df41621f5ca0dd3fd7100918d689183289b1e.zip
Remove unused BarEntry variable
Signed-off-by: leo78913 <leo3758@riseup.net>
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/widgets/WideBar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/ui/widgets/WideBar.cpp b/launcher/ui/widgets/WideBar.cpp
index 540d599d..ffc2dfd1 100644
--- a/launcher/ui/widgets/WideBar.cpp
+++ b/launcher/ui/widgets/WideBar.cpp
@@ -132,8 +132,7 @@ void WideBar::insertWidgetBefore(QAction* before, QWidget* widget)
if (iter == m_entries.end())
return;
- BarEntry entry;
- entry.bar_action = insertWidget(iter->bar_action, widget);
+ insertWidget(iter->bar_action, widget);
}
void WideBar::insertSpacer(QAction* action)