Commit 7a5d4033 authored by Eugene Popov's avatar Eugene Popov Committed by Nate Graham
Browse files

Revert "fix padding in places view"

This reverts commit 56888a56.
parent df9ae6c2
/*
* SPDX-FileCopyrightText: 2012 Frank Reininghaus <frank78ac@googlemail.com>
* SPDX-FileCopyrightText: 2021 Harald Sitter <sitter@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
......@@ -12,10 +11,6 @@
PlacesView::PlacesView(QGraphicsWidget* parent) :
KStandardItemListView(parent)
{
KItemListStyleOption option = styleOption();
option.padding = 4;
setStyleOption(option);
const int iconSize = PlacesPanelSettings::iconSize();
if (iconSize >= 0) {
setIconSize(iconSize);
......@@ -31,6 +26,7 @@ void PlacesView::setIconSize(int size)
KItemListStyleOption option = styleOption();
option.iconSize = size;
option.padding = 4;
setStyleOption(option);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment