Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:EKrava
qt3
qt3-trinity-qt-xft.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qt3-trinity-qt-xft.patch of Package qt3
From a35e51a4fde9d292e94e824454d5d589f22b0f19 Mon Sep 17 00:00:00 2001 From: OBATA Akio <obache@wizdas.com> Date: Tue, 4 Aug 2020 18:15:08 +0900 Subject: Fix `qt_xft_handle` to work as expected Signed-off-by: OBATA Akio <obache@wizdas.com> --- src/kernel/qfont_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/qfont_x11.cpp b/src/kernel/qfont_x11.cpp index fea0b58..c45a265 100644 --- a/src/kernel/qfont_x11.cpp +++ b/src/kernel/qfont_x11.cpp @@ -75,7 +75,7 @@ Q_EXPORT bool qt_has_xft = FALSE; Qt::HANDLE qt_xft_handle(const QFont &font) { QFontEngine *engine = font.d->engineForScript( QFontPrivate::defaultScript ); - if (!engine->type() == QFontEngine::Xft) + if (engine->type() != QFontEngine::Xft) return 0; return (long)static_cast<QFontEngineXft *>(engine)->font(); } -- cgit v1.2.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor