Commit 6e422a78 authored by Laurent Montel's avatar Laurent Montel 😁

remove deprecated methods

parent 7d203439
......@@ -183,7 +183,7 @@ void ClassicMode::initWidget()
d->classicCategory = new CategoryList( d->classicWidget, d->proxyModel );
d->stackedWidget = new QStackedWidget( d->classicWidget );
d->stackedWidget->layout()->setMargin(0);
d->stackedWidget->layout()->setContentsMargins(0, 0, 0, 0);
d->stackedWidget->addWidget( d->classicCategory );
d->stackedWidget->addWidget( d->moduleView );
......
......@@ -72,7 +72,7 @@ ModuleView::ModuleView( QWidget * parent )
d->mLayout = new QVBoxLayout(this);
// Create the Page Widget
d->mPageWidget = new KPageWidget(this);
d->mPageWidget->layout()->setMargin(0);
d->mPageWidget->layout()->setContentsMargins(0, 0, 0, 0);
d->mLayout->addWidget(d->mPageWidget);
// Create the dialog
d->mButtons = new QDialogButtonBox( Qt::Horizontal, this );
......
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