mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Removed unused variables spotted by clazy
This commit is contained in:
parent
b46d57d5fb
commit
69239fdf41
|
@ -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) {
|
||||
|
|
|
@ -541,7 +541,6 @@ void PlacesItemModelTest::testSystemItems()
|
|||
|
||||
void PlacesItemModelTest::testEditBookmark()
|
||||
{
|
||||
const QUrl tempUrl = QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::TempLocation));
|
||||
QScopedPointer<PlacesItemModel> other(new PlacesItemModel());
|
||||
|
||||
createPlaceItem(QStringLiteral("Temporary Dir"), QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::TempLocation)), QString());
|
||||
|
|
Loading…
Reference in a new issue