Commit 475196f2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Readd a top margin otherwise it's difficult to find splitter to resize it.

Bug found by Sabine
parent 21d55067
...@@ -100,7 +100,7 @@ KMReaderWin::KMReaderWin(QWidget *aParent, QWidget *mainWindow, KActionCollectio ...@@ -100,7 +100,7 @@ KMReaderWin::KMReaderWin(QWidget *aParent, QWidget *mainWindow, KActionCollectio
{ {
createActions(); createActions();
QVBoxLayout *vlay = new QVBoxLayout(this); QVBoxLayout *vlay = new QVBoxLayout(this);
vlay->setMargin(0); vlay->setContentsMargins(0, 4, 0, 0);
mViewer = new Viewer(this, mainWindow, mActionCollection); mViewer = new Viewer(this, mainWindow, mActionCollection);
connect(mViewer, SIGNAL(urlClicked(Akonadi::Item,QUrl)), this, SLOT(slotUrlClicked(Akonadi::Item,QUrl))); connect(mViewer, SIGNAL(urlClicked(Akonadi::Item,QUrl)), this, SLOT(slotUrlClicked(Akonadi::Item,QUrl)));
connect(mViewer, &Viewer::requestConfigSync, kmkernel, &KMKernel::slotRequestConfigSync, Qt::QueuedConnection); // happens anyway on shutdown, so we can skip it there with using a queued connection connect(mViewer, &Viewer::requestConfigSync, kmkernel, &KMKernel::slotRequestConfigSync, Qt::QueuedConnection); // happens anyway on shutdown, so we can skip it there with using a queued connection
......
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