Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
JuK
Commits
a173d2a7
Commit
a173d2a7
authored
Nov 11, 2021
by
Michael Pyne
Browse files
Remove unneeded use of deprecated KDirList auto-error handling.
parent
27aad26d
Changes
1
Hide whitespace changes
Inline
Side-by-side
playlistcollection.cpp
View file @
a173d2a7
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment