ALT Linux Bugzilla
– Attachment 9043 Details for
Bug 37756
Ошибки клиента KIO при переходе к некоторым точкам входа
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч на qt5-base
patch (text/plain), 798 bytes, created by
Олег Соловьев
on 2020-11-18 15:51:31 MSK
(
hide
)
Description:
патч на qt5-base
Filename:
MIME Type:
Creator:
Олег Соловьев
Created:
2020-11-18 15:51:31 MSK
Size:
798 bytes
patch
obsolete
>diff --git a/qtbase/src/corelib/io/qfileselector.cpp b/qtbase/src/corelib/io/qfileselector.cpp >index ee378f6434..22ffc2f6aa 100644 >--- a/qtbase/src/corelib/io/qfileselector.cpp >+++ b/qtbase/src/corelib/io/qfileselector.cpp >@@ -278,7 +278,16 @@ QString QFileSelectorPrivate::select(const QString &filePath) const > Q_Q(const QFileSelector); > QFileInfo fi(filePath); > >- QString ret = selectionHelper(fi.path().isEmpty() ? QString() : fi.path() + QLatin1Char('/'), >+ Qstring path = QString(); >+ if (!fi.path().isEmpty()) { >+ if (fi.path().endsWith('/')) { >+ path = fi.path(); >+ } else { >+ path = fi.path() + QLatin1Char('/'); >+ } >+ } >+ >+ QString ret = selectionHelper(path, > fi.fileName(), q->allSelectors()); > > if (!ret.isEmpty())
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37756
:
8512
| 9043