From 69239fdf410c82429d41239e7a07ef043a6bf59c Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sun, 11 Mar 2018 17:14:07 +0100 Subject: Removed unused variables spotted by clazy --- src/panels/places/placespanel.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/panels') diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp index 216b76038..1f81a1eaa 100644 --- a/src/panels/places/placespanel.cpp +++ b/src/panels/places/placespanel.cpp @@ -175,8 +175,6 @@ void PlacesPanel::slotItemContextMenuRequested(int index, const QPointF& pos) QAction* teardownAction = nullptr; QAction* ejectAction = nullptr; - const QString label = item->text(); - const bool isDevice = !item->udi().isEmpty(); const bool isTrash = (item->url().scheme() == QLatin1String("trash")); if (isDevice) { -- cgit v1.3