connect(m_controller, SIGNAL(urlChanged(const KUrl&)),
this, SIGNAL(urlChanged(const KUrl&)));
connect(m_controller, SIGNAL(requestUrlChange(const KUrl&)),
- this, SIGNAL(slotRequestUrlChange(const KUrl&)));
+ this, SLOT(slotRequestUrlChange(const KUrl&)));
connect(m_controller, SIGNAL(requestContextMenu(const QPoint&)),
this, SLOT(openContextMenu(const QPoint&)));
}
m_active = active;
- m_selectionModel->clearSelection();
QColor color = KColorScheme(QPalette::Active, KColorScheme::View).background().color();
if (active) {
update();
if (active) {
+ itemView()->setFocus();
emit activated();
}
void DolphinView::slotRedirection(const KUrl& oldUrl, const KUrl& newUrl)
{
- if (oldUrl == m_controller->url())
+ if (oldUrl == m_controller->url()) {
m_controller->setUrl(newUrl);
+ }
}
#include "dolphinview.moc"