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
Plasma
KDE Portal for XDG Desktop
Commits
f639d3e5
Commit
f639d3e5
authored
Sep 17, 2020
by
Jonah Brüchert
Committed by
Jan Grulich
Sep 21, 2020
Browse files
mobile filechooser: Don't accept empty titles
Somehow the QtQuick.Dialogs file dialog does this
parent
13fbfe7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kirigami-filepicker/api/mobilefiledialog.cpp
View file @
f639d3e5
...
...
@@ -70,8 +70,11 @@ QString MobileFileDialog::title() const
void
MobileFileDialog
::
setTitle
(
const
QString
&
title
)
{
m_customTitleSet
=
true
;
m_callback
->
setTitle
(
title
);
// Don't accept an empty titles
if
(
!
title
.
isEmpty
())
{
m_customTitleSet
=
true
;
m_callback
->
setTitle
(
title
);
}
}
bool
MobileFileDialog
::
selectMultiple
()
const
...
...
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