Projects
Eulaceura:Factory
qt
_service:obs_scm:fix-build-error-about-messagem...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:fix-build-error-about-messagemodel.patch of Package qt
From 07bf8749800eebde9d9c870678479447a333da1a Mon Sep 17 00:00:00 2001 From: peijiankang <peijiankang@kylinos.cn> Date: Mon, 14 Aug 2023 16:11:15 +0800 Subject: [PATCH] fix build error about messagemodel --- tools/linguist/linguist/messagemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/linguist/linguist/messagemodel.cpp b/tools/linguist/linguist/messagemodel.cpp index 61c5389f..7334e0e9 100644 --- a/tools/linguist/linguist/messagemodel.cpp +++ b/tools/linguist/linguist/messagemodel.cpp @@ -183,7 +183,7 @@ static int calcMergeScore(const DataModel *one, const DataModel *two) if (ContextItem *c = one->findContext(oc->context())) { for (int j = 0; j < oc->messageCount(); ++j) { MessageItem *m = oc->messageItem(j); - if (c->findMessage(m->text(), m->comment()) >= 0) + if (c->findMessage(m->text(), m->comment())) ++inBoth; } } -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2