summaryrefslogtreecommitdiff
path: root/x11-misc/sddm/files/sddm-0.14.0-avatars.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-07-05 13:55:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-07-05 13:55:24 +0100
commitfd890516aacba5ee2d8902fb31cc27964c4632c1 (patch)
tree666b979dfc54571d6c6e04e1939ca5a9bb06b0f0 /x11-misc/sddm/files/sddm-0.14.0-avatars.patch
parent3f081bc83000affd8ec16e0b941c6c08925ea098 (diff)
x11-misc/sddm : version bump (bugfix: https://bugs.redcorelinux.org/show_bug.cgi?id=117)
Diffstat (limited to 'x11-misc/sddm/files/sddm-0.14.0-avatars.patch')
-rw-r--r--x11-misc/sddm/files/sddm-0.14.0-avatars.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/x11-misc/sddm/files/sddm-0.14.0-avatars.patch b/x11-misc/sddm/files/sddm-0.14.0-avatars.patch
deleted file mode 100644
index d40f68c1..00000000
--- a/x11-misc/sddm/files/sddm-0.14.0-avatars.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From ecb903e48822bd90650bdd64fe80754e3e9664cb Mon Sep 17 00:00:00 2001
-From: Bastian Beischer <bastian.beischer@gmail.com>
-Date: Fri, 2 Sep 2016 13:05:18 +0200
-Subject: [PATCH] Fix display of user avatars. (#684)
-
-QFile::exists("...") does not understand file:// URLs, at least in Qt
-5.7.0 and Qt 4.8.7.
----
- src/greeter/UserModel.cpp | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/greeter/UserModel.cpp b/src/greeter/UserModel.cpp
-index 41a9f10..94c492d 100644
---- a/src/greeter/UserModel.cpp
-+++ b/src/greeter/UserModel.cpp
-@@ -107,13 +107,13 @@ namespace SDDM {
- d->lastIndex = i;
-
- if (avatarsEnabled) {
-- const QString userFace = QStringLiteral("file://%1/.face.icon").arg(user->homeDir);
-- const QString systemFace = QStringLiteral("file://%1/%2.face.icon").arg(facesDir).arg(user->name);
-+ const QString userFace = QStringLiteral("%1/.face.icon").arg(user->homeDir);
-+ const QString systemFace = QStringLiteral("%1/%2.face.icon").arg(facesDir).arg(user->name);
-
- if (QFile::exists(userFace))
-- user->icon = userFace;
-+ user->icon = QStringLiteral("file://%1").arg(userFace);
- else if (QFile::exists(systemFace))
-- user->icon = systemFace;
-+ user->icon = QStringLiteral("file://%1").arg(systemFace);
- }
- }
- }