File: 003-fix-daemon-authentication.patch

package info (click to toggle)
dde-store 1.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 740 kB
  • sloc: cpp: 2,037; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 798 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix Daemon authentication failure ErrorNotAuthorized.
Author: Arun Kumar Pariyar <openarungeek@gmail.com>
Forwarded: https://github.com/dekzi/dde-store/pull/29
Last-Update: 2022-09-25
---

Index: dde-store/backend/sources/packagekit/packagekitsource.cpp
===================================================================
--- dde-store.orig/backend/sources/packagekit/packagekitsource.cpp	2022-09-26 12:24:43.827543709 +0545
+++ dde-store/backend/sources/packagekit/packagekitsource.cpp	2022-09-26 12:25:39.891328702 +0545
@@ -27,6 +27,8 @@
             app->ratings = RatingsHelper::instance()->totalRatings(app->id);
         ratingsQueue.clear();
     });
+
+    Daemon::global()->setHints(QStringList() << QStringLiteral("interactive=true"));
 }

 QString PackageKitSource::name()