Changeset View
Changeset View
Standalone View
Standalone View
krusader/GUI/terminaldock.cpp
Show First 20 Lines • Show All 277 Lines • ▼ Show 20 Line(s) | 277 | if (konsole_part && konsole_part->widget()) | |||
---|---|---|---|---|---|
278 | konsole_part->widget()->hide(); // hide the widget to prevent from resize | 278 | konsole_part->widget()->hide(); // hide the widget to prevent from resize | ||
279 | } | 279 | } | ||
280 | 280 | | |||
281 | void TerminalDock::showEvent(QShowEvent * /*e*/) | 281 | void TerminalDock::showEvent(QShowEvent * /*e*/) | ||
282 | { | 282 | { | ||
283 | if (konsole_part && konsole_part->widget()) { | 283 | if (konsole_part && konsole_part->widget()) { | ||
284 | // BUGFIX: TE scrolling bug (see upper) | 284 | // BUGFIX: TE scrolling bug (see upper) | ||
285 | // show the Konsole part delayed | 285 | // show the Konsole part delayed | ||
286 | QTimer::singleShot(0, konsole_part->widget(), SLOT(show())); | 286 | QTimer::singleShot(0, konsole_part->widget(), &QWidget::show); | ||
287 | } | 287 | } | ||
288 | } | 288 | } | ||
289 | 289 | |