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
Kate
Commits
f9a5ae2a
Commit
f9a5ae2a
authored
Oct 13, 2022
by
Eric Armbruster
🍁
Browse files
Remove accidentally committed debug output
parent
68ad2b72
Pipeline
#247322
passed with stage
in 12 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/welcomeview/recentitemsmodel.cpp
View file @
f9a5ae2a
...
...
@@ -7,7 +7,6 @@
#include
"recentitemsmodel.h"
#include
<QDebug>
#include
<QFileInfo>
#include
<QMimeDatabase>
...
...
@@ -54,7 +53,6 @@ void RecentItemsModel::refresh(const QList<QUrl> &urls)
QString
name
;
for
(
const
QUrl
&
url
:
urls
)
{
if
(
url
.
isLocalFile
())
{
qDebug
()
<<
url
<<
" is local file"
;
const
QFileInfo
fileInfo
(
url
.
toLocalFile
());
if
(
!
fileInfo
.
exists
())
{
continue
;
...
...
@@ -63,7 +61,6 @@ void RecentItemsModel::refresh(const QList<QUrl> &urls)
icon
=
QIcon
::
fromTheme
(
QMimeDatabase
().
mimeTypeForFile
(
fileInfo
).
iconName
());
name
=
fileInfo
.
fileName
();
}
else
{
qDebug
()
<<
url
<<
" is not local file"
;
icon
=
QIcon
::
fromTheme
(
QStringLiteral
(
"network-server"
));
name
=
url
.
toString
();
}
...
...
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