mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Enable delayed mimetypes
svn path=/trunk/KDE/kdebase/konqueror/; revision=608298
This commit is contained in:
parent
67de2522f4
commit
f3bb01c939
1 changed files with 5 additions and 1 deletions
|
@ -27,11 +27,12 @@
|
|||
#include <konq_settings.h>
|
||||
#include <kparts/genericfactory.h>
|
||||
#include <kdirmodel.h>
|
||||
#include <kglobalsettings.h>
|
||||
#include <kmimetyperesolver.h>
|
||||
|
||||
#include "konq_selectionmodel.h"
|
||||
#include "konq_iconview.h"
|
||||
#include "konq_listview.h"
|
||||
#include <kglobalsettings.h>
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( konq_part, KonqFactory )
|
||||
|
||||
|
@ -70,6 +71,9 @@ KonqPart::KonqPart( QWidget* parentWidget, QObject* parent, const QStringList& a
|
|||
|
||||
setWidget( m_view );
|
||||
|
||||
m_model->dirLister()->setDelayedMimeTypes(true);
|
||||
new KMimeTypeResolver( m_view, m_model );
|
||||
|
||||
m_model->dirLister()->setMainWindow( widget()->topLevelWidget() );
|
||||
m_fileTip->setOptions( settings->showFileTips(), settings->showPreviewsInFileTips(), settings->numFileTips() );
|
||||
|
||||
|
|
Loading…
Reference in a new issue