Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-kconfigwidgets
0001-Fix-crash-when-closing-kmymoney-on-Windows...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-crash-when-closing-kmymoney-on-Windows.patch of Package mingw64-kconfigwidgets
From 6b658588c23951e9cb15ee69bc68ba5be24bc68e Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Wed, 15 Sep 2021 15:19:46 +0200 Subject: [PATCH] Fix crash when closing kmymoney on Windows It's not clear at this time why this was crashing. BUG:440059 --- src/kcolorscheme.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kcolorscheme.cpp b/src/kcolorscheme.cpp index a5309e6..d57d131 100644 --- a/src/kcolorscheme.cpp +++ b/src/kcolorscheme.cpp @@ -262,7 +262,11 @@ static const DecoDefaultColors defaultDecorationColors = { KSharedConfigPtr defaultConfig() { // cache the value we'll return, since usually it's going to be the same value +#if defined(Q_OS_WIN) && defined(__GNUC__) + static KSharedConfigPtr config; +#else static thread_local KSharedConfigPtr config; +#endif // Read from the application's color scheme file (as set by KColorSchemeManager). // If unset, this is equivalent to openConfig() and the system scheme is used. const auto colorSchemePath = qApp->property("KDE_COLOR_SCHEME_PATH").toString(); -- 2.26.2
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