┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-04-03 15:33:57 +0200
committerMéven Car <[email protected]>2023-04-03 15:34:16 +0200
commite190977a909899dddd748cc0ee32e6fbfe32c4e2 (patch)
treed6ef8c7703f89b5ad09d9ec0ec3f6afc47236aca /src/panels/places
parent612c1468f63cbd7a8d33519714a81d328e994ead (diff)
PlacesPanel: clean some warnings
NO_CHANGELOG
Diffstat (limited to 'src/panels/places')
-rw-r--r--src/panels/places/placespanel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp
index 6467f9c23..bea2f0614 100644
--- a/src/panels/places/placespanel.cpp
+++ b/src/panels/places/placespanel.cpp
@@ -14,7 +14,6 @@
#include "dolphin_generalsettings.h"
#include "dolphin_placespanelsettings.h"
#include "dolphinplacesmodelsingleton.h"
-#include "global.h"
#include "settings/dolphinsettingsdialog.h"
#include "views/draganddrophelper.h"
@@ -50,7 +49,7 @@ PlacesPanel::PlacesPanel(QWidget *parent)
connect(this, &PlacesPanel::contextMenuAboutToShow, this, &PlacesPanel::slotContextMenuAboutToShow);
- connect(this, &PlacesPanel::iconSizeChanged, this, [this](const QSize &newSize) {
+ connect(this, &PlacesPanel::iconSizeChanged, this, [](const QSize &newSize) {
int iconSize = qMin(newSize.width(), newSize.height());
if (iconSize == 0) {
// Don't store 0 size, let's keep -1 for default/small/automatic