Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:openSUSE:Factory:rpmlint
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 6bb07b64a7..d35fda12fb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,6 +31,7 @@ #include <QCommandLineParser> #include <QStandardPaths> +#include <QSurfaceFormat> #include <QtGlobal> #include <csignal> @@ -44,6 +45,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.46.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