diff options
| author | Peter Penz <[email protected]> | 2010-10-27 18:31:39 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-10-27 18:31:39 +0000 |
| commit | 8a7591e20b7184c6214b9d4420298d169d326e4d (patch) | |
| tree | a0cc351cd4546741d9d8b7e387d28c75d301e6ff /src/dolphinmainwindow.cpp | |
| parent | d9141a2aded8b9f13eeac0786e8ee3f065d5b911 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<KIO::StatJob*>(job)->statResult(); const KUrl url = static_cast<KIO::StatJob*>(job)->url(); - if ( entry.isDir() ) { + if (entry.isDir()) { activeViewContainer()->setUrl(url); } else { new KRun(url, this); |
