void DolphinMainWindow::reloadView()
{
clearStatusBar();
- m_activeViewContainer->view()->reload();
+ m_activeViewContainer->reload();
}
void DolphinMainWindow::stopLoading()
m_urlNavigator, &KUrlNavigator::setLocationUrl);
connect(m_view, &DolphinView::urlChanged,
m_messageWidget, &KMessageWidget::hide);
- connect(m_view, &DolphinView::directoryLoadingCompleted,
- m_messageWidget, &KMessageWidget::hide);
connect(m_view, &DolphinView::writeStateChanged,
this, &DolphinViewContainer::writeStateChanged);
connect(m_view, &DolphinView::requestItemInfo,
return text;
}
+void DolphinViewContainer::reload()
+{
+ view()->reload();
+ m_messageWidget->hide();
+}
+
void DolphinViewContainer::setUrl(const QUrl& newUrl)
{
if (newUrl != m_urlNavigator->locationUrl()) {
*/
QString placesText() const;
+ /**
+ * Reload the view of this container. This will also hide messages in a messagewidget.
+ */
+ void reload();
+
public slots:
/**
* Sets the current active URL, where all actions are applied. The