Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Filelight
Commits
5f0f958b
Commit
5f0f958b
authored
Nov 03, 2022
by
Nicolas Fella
Browse files
Port away from deprecated KDirLister::setShowingDotFiles
parent
82f743a2
Pipeline
#261687
passed with stage
in 3 minutes and 49 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/remoteLister.cpp
View file @
5f0f958b
...
...
@@ -12,6 +12,8 @@
#include
<QList>
#include
<kio_version.h>
namespace
Filelight
{
...
...
@@ -62,7 +64,11 @@ RemoteLister::RemoteLister(const QUrl &url, ScanManager *parent)
,
m_store
(
m_root
)
,
m_manager
(
parent
)
{
#if KIO_VERSION < QT_VERSION_CHECK(5, 100, 0)
setShowingDotFiles
(
true
);
// Stupid KDirLister API function names
#else
setShowHiddenFiles
(
true
);
#endif
// Use SIGNAL(result(KIO::Job*)) instead and then use Job::error()
connect
(
this
,
static_cast
<
void
(
KCoreDirLister
::*
)()
>
(
&
KCoreDirLister
::
completed
),
this
,
&
RemoteLister
::
onCompleted
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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