Changeset View
Changeset View
Standalone View
Standalone View
src/dolphintabpage.cpp
Show First 20 Lines • Show All 325 Lines • ▼ Show 20 Line(s) | 323 | if (newActiveView != oldActiveView) { | |||
---|---|---|---|---|---|
326 | disconnect(oldActiveView, &DolphinView::redirection, | 326 | disconnect(oldActiveView, &DolphinView::redirection, | ||
327 | this, &DolphinTabPage::slotViewUrlRedirection); | 327 | this, &DolphinTabPage::slotViewUrlRedirection); | ||
328 | connect(newActiveView, &DolphinView::urlChanged, | 328 | connect(newActiveView, &DolphinView::urlChanged, | ||
329 | this, &DolphinTabPage::activeViewUrlChanged); | 329 | this, &DolphinTabPage::activeViewUrlChanged); | ||
330 | connect(newActiveView, &DolphinView::redirection, | 330 | connect(newActiveView, &DolphinView::redirection, | ||
331 | this, &DolphinTabPage::slotViewUrlRedirection); | 331 | this, &DolphinTabPage::slotViewUrlRedirection); | ||
332 | } | 332 | } | ||
333 | 333 | | |||
334 | emit activeViewUrlChanged(activeViewContainer()->url()); | | |||
335 | emit activeViewChanged(activeViewContainer()); | 334 | emit activeViewChanged(activeViewContainer()); | ||
335 | emit activeViewUrlChanged(activeViewContainer()->url()); | ||||
336 | } | 336 | } | ||
337 | 337 | | |||
338 | void DolphinTabPage::slotViewUrlRedirection(const QUrl& oldUrl, const QUrl& newUrl) | 338 | void DolphinTabPage::slotViewUrlRedirection(const QUrl& oldUrl, const QUrl& newUrl) | ||
339 | { | 339 | { | ||
340 | Q_UNUSED(oldUrl); | 340 | Q_UNUSED(oldUrl); | ||
341 | 341 | | |||
342 | emit activeViewUrlChanged(newUrl); | 342 | emit activeViewUrlChanged(newUrl); | ||
343 | } | 343 | } | ||
Show All 27 Lines |