Commit d57eeb59 authored by Laurent Montel's avatar Laurent Montel 😁

Port some deprecated methods

parent 40d32ae9
......@@ -41,6 +41,7 @@
#include <QMimeDatabase>
#include <QMimeData>
#include <QGestureEvent>
#include <QElapsedTimer>
#include <qaction.h>
#include <kactionmenu.h>
......@@ -164,7 +165,7 @@ public:
// viewport move
bool viewportMoveActive;
QTime viewportMoveTime;
QElapsedTimer viewportMoveTime;
QPoint viewportMoveDest;
int lastSourceLocationViewportPageNumber;
double lastSourceLocationViewportNormalizedX;
......
......@@ -500,7 +500,7 @@ Sidebar::Sidebar( QWidget *parent )
d->sideContainer->setMinimumWidth( 90 );
d->sideContainer->setMaximumWidth( 600 );
d->vlay = new QVBoxLayout( d->sideContainer );
d->vlay->setMargin( 0 );
d->vlay->setContentsMargins( 0, 0, 0, 0 );
d->sideTitle = new QLabel( d->sideContainer );
d->vlay->addWidget( d->sideTitle );
......
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