From 8a7591e20b7184c6214b9d4420298d169d326e4d Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 27 Oct 2010 18:31:39 +0000 Subject: Postpone the initialization of the filter-panel until it is shown. This prevents overhead if the filter-panel is disabled. svn path=/trunk/KDE/kdebase/apps/; revision=1190460 --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 54e6d8b6c..043f70f12 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1178,7 +1178,7 @@ void DolphinMainWindow::slotHandleUrlStatFinished(KJob* job) m_lastHandleUrlStatJob = 0; const KIO::UDSEntry entry = static_cast(job)->statResult(); const KUrl url = static_cast(job)->url(); - if ( entry.isDir() ) { + if (entry.isDir()) { activeViewContainer()->setUrl(url); } else { new KRun(url, this); -- cgit v1.3