diff options
| author | Laurent Montel <[email protected]> | 2019-02-27 08:59:18 +0100 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2019-02-27 08:59:18 +0100 |
| commit | 4315e5c9380e22eed483f00adac3d075369eae49 (patch) | |
| tree | 8d86e02ae6b54ec1bdb6c057896ff0bffc09c173 /src/dolphinviewcontainer.cpp | |
| parent | 1c6240964bb8ce9d55069cc9082978e34c22e84c (diff) | |
remove deprecated methods
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 767f2ae8f..cdce157eb 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -71,12 +71,12 @@ DolphinViewContainer::DolphinViewContainer(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); m_navigatorWidget = new QWidget(this); QHBoxLayout* navigatorLayout = new QHBoxLayout(m_navigatorWidget); navigatorLayout->setSpacing(0); - navigatorLayout->setMargin(0); + navigatorLayout->setContentsMargins(0, 0, 0, 0); m_urlNavigator = new KUrlNavigator(DolphinPlacesModelSingleton::instance().placesModel(), url, this); connect(m_urlNavigator, &KUrlNavigator::activated, |
