Changeset View
Changeset View
Standalone View
Standalone View
src/next/incidenceviewer.cpp
Show First 20 Lines • Show All 148 Lines • ▼ Show 20 Line(s) | |||||
149 | { | 149 | { | ||
150 | d->mCalendar = nullptr; | 150 | d->mCalendar = nullptr; | ||
151 | init(); | 151 | init(); | ||
152 | } | 152 | } | ||
153 | 153 | | |||
154 | void IncidenceViewer::init() | 154 | void IncidenceViewer::init() | ||
155 | { | 155 | { | ||
156 | QVBoxLayout *layout = new QVBoxLayout(this); | 156 | QVBoxLayout *layout = new QVBoxLayout(this); | ||
157 | layout->setMargin(0); | 157 | layout->setContentsMargins(0, 0, 0, 0); | ||
158 | 158 | | |||
159 | d->mBrowser->setOpenLinks(true); | 159 | d->mBrowser->setOpenLinks(true); | ||
160 | d->mBrowser->setMinimumHeight(1); | 160 | d->mBrowser->setMinimumHeight(1); | ||
161 | 161 | | |||
162 | layout->addWidget(d->mBrowser); | 162 | layout->addWidget(d->mBrowser); | ||
163 | 163 | | |||
164 | // always fetch full payload for incidences | 164 | // always fetch full payload for incidences | ||
165 | fetchScope().fetchFullPayload(); | 165 | fetchScope().fetchFullPayload(); | ||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |