Commit a173d2a7 authored by Michael Pyne's avatar Michael Pyne
Browse files

Remove unneeded use of deprecated KDirList auto-error handling.

parent 27aad26d
......@@ -17,6 +17,7 @@
#include "playlistcollection.h"
#include <kio_version.h>
#include <kiconloader.h>
#include <kmessagebox.h>
#include <kactioncollection.h>
......@@ -102,10 +103,14 @@ PlaylistCollection::PlaylistCollection(PlayerManager *player, QStackedWidget *pl
m_actionHandler = new ActionHandler(this);
#if KIO_VERSION < QT_VERSION_CHECK(5, 82, 0)
// KDirLister's auto error handling seems to crash JuK during startup in
// readConfig().
// readConfig(). This auto handler was removed in KF5.82 so no longer
// needs disabled afterward.
m_dirLister.setAutoErrorHandlingEnabled(false, playlistStack);
#endif
readConfig();
}
......
Markdown is supported
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