Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 427560 Details for
Bug 576584
x11-misc/sddm-0.13.0: Lists in sddm.conf not read correctly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sddm-0.13.0-fix_config_list_read.patch
sddm-0.13.0-fix_config_list_read.patch (text/plain), 660 bytes, created by
Johannes Hirte
on 2016-03-06 11:42:33 UTC
(
hide
)
Description:
sddm-0.13.0-fix_config_list_read.patch
Filename:
MIME Type:
Creator:
Johannes Hirte
Created:
2016-03-06 11:42:33 UTC
Size:
660 bytes
patch
obsolete
>diff --git a/src/common/ConfigReader.cpp b/src/common/ConfigReader.cpp >index bdfd22a..e74b823 100644 >--- a/src/common/ConfigReader.cpp >+++ b/src/common/ConfigReader.cpp >@@ -30,12 +30,15 @@ > > QTextStream &operator>>(QTextStream &str, QStringList &list) { > list.clear(); >- foreach(const QStringRef &s, str.readLine().splitRef(QLatin1Char(','))) >- { >- QStringRef trimmed = s.trimmed(); >+ >+ QString line = str.readLine(); >+ >+ Q_FOREACH (const QStringRef &s, line.splitRef(QLatin1Char(','))) { >+ QStringRef trimmed = s.trimmed(); > if (!trimmed.isEmpty()) > list.append(trimmed.toString()); > } >+ > return str; > } >
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 576584
: 427560