!8 Update app-match.cpp

From: @tanyulong2021
Reviewed-by: @dou33
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2021-12-06 02:08:12 +00:00 committed by Gitee
commit 564b83ec06
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 3118f367f10657c2c9e2da3df17668565810432f Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
Date: Fri, 3 Dec 2021 09:49:54 +0800
Subject: [PATCH] Update app-match.cpp info
---
libsearch/appsearch/app-match.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/libsearch/appsearch/app-match.cpp b/libsearch/appsearch/app-match.cpp
index 8ad8d31..d7d9fd4 100644
--- a/libsearch/appsearch/app-match.cpp
+++ b/libsearch/appsearch/app-match.cpp
@@ -34,6 +34,7 @@ AppMatch::AppMatch(QObject *parent) : QThread(parent)
{
m_watchAppDir = new QFileSystemWatcher(this);
m_watchAppDir->addPath("/usr/share/applications/");
+ //This part is not right?
QDir androidPath(QDir::homePath() + "/.local/share/applications/");
if(androidPath.exists()) {
m_watchAppDir->addPath(QDir::homePath() + "/.local/share/applications/");
--
2.30.0

View File

@ -2,7 +2,7 @@
Name: ukui-search
Version: 0.4.1
Release: 7
Release: 8
Summary: Advanced ukui menu
License: GPL-3.0
URL: http://www.ukui.org
@ -14,6 +14,7 @@ Patch2: 0003-File-name-is-obscured-when-it-s-too-long-in-detail-page.patc
Patch3: 0004-Black-list-wont-t-work-when-block-home-location.patch
Patch4: 0005-Update-changelog-for-easy-view.patch
Patch5: 0006-update-debian-changelog.patch
Patch6: 0007-Update-app-match.cpp-info.patch
BuildRequires: pkgconf
BuildRequires: gsettings-qt-devel
@ -94,6 +95,7 @@ permanent.
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
mkdir build && cd build
@ -145,6 +147,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Dec 03 2021 tanyulong <tanyulong@kylinos.cn> - 0.4.1-8
- Update app match.cpp info
* Thu Dec 02 2021 tanyulong <tanyulong@kylinos.cn> - 0.4.1-7
- Update debian/changelog