Commit aa32b934 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Port deprecated KDirLister::setAutoErrorHandlingEnabled() -> KCoreDirLister

The error handling is disabled, so there is no need for the 'widget'
parameter (which was null anyway) or to connect to the jobError() signal.
parent 5c6d98c2
......@@ -158,7 +158,7 @@ void K3b::PlacesModel::addPlace( const QString& name, const QIcon& icon, const Q
KDirModel* model = new KDirModel( this );
connect( model, SIGNAL(expand(QModelIndex)), this, SLOT(slotExpand(QModelIndex)) );
model->dirLister()->setAutoErrorHandlingEnabled( false, 0 );
model->dirLister()->setAutoErrorHandlingEnabled( false );
model->dirLister()->setDirOnlyMode( true );
model->dirLister()->openUrl( rootUrl, KDirLister::Keep );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment