┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-02-27 08:59:18 +0100
committerLaurent Montel <[email protected]>2019-02-27 08:59:18 +0100
commit4315e5c9380e22eed483f00adac3d075369eae49 (patch)
tree8d86e02ae6b54ec1bdb6c057896ff0bffc09c173 /src/views
parent1c6240964bb8ce9d55069cc9082978e34c22e84c (diff)
remove deprecated methods
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinview.cpp2
-rw-r--r--src/views/renamedialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index 1374af248..d79b7cd08 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -97,7 +97,7 @@ DolphinView::DolphinView(const QUrl& url, QWidget* parent) :
{
m_topLayout = new QVBoxLayout(this);
m_topLayout->setSpacing(0);
- m_topLayout->setMargin(0);
+ m_topLayout->setContentsMargins(0, 0, 0, 0);
// When a new item has been created by the "Create New..." menu, the item should
// get selected and it must be assured that the item will get visible. As the
diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp
index c9f9c177b..5d329c3ce 100644
--- a/src/views/renamedialog.cpp
+++ b/src/views/renamedialog.cpp
@@ -137,7 +137,7 @@ RenameDialog::RenameDialog(QWidget *parent, const KFileItemList& items) :
m_spinBox->setDisplayIntegerBase(10);
QHBoxLayout* horizontalLayout = new QHBoxLayout(page);
- horizontalLayout->setMargin(0);
+ horizontalLayout->setContentsMargins(0, 0, 0, 0);
horizontalLayout->addWidget(infoLabel);
horizontalLayout->addWidget(m_spinBox);