Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0
amarok
0001-Work-around-QTBUG-75797-for-openQA.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Work-around-QTBUG-75797-for-openQA.patch of Package amarok
From cda902acd673499f038fbdbf61116c4fbb3ea0af Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <christophe@krop.fr> Date: Tue, 14 May 2019 11:53:01 +0200 Subject: [PATCH] Work around QTBUG-75797 for openQA --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 59f759d275..de48b95bae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,6 +29,7 @@ #include <QCommandLineParser> #include <QStandardPaths> +#include <QSurfaceFormat> #include <QtGlobal> #ifdef WITH_QT_WEBENGINE @@ -50,6 +51,11 @@ int main( int argc, char *argv[] ) QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + QSurfaceFormat fmt = QSurfaceFormat::defaultFormat(); + if(fmt.redBufferSize() < 8) + fmt.setRedBufferSize(8); + QSurfaceFormat::setDefaultFormat(fmt); + App app(argc, argv); app.setApplicationDisplayName(i18n("Amarok")); -- 2.33.0
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