Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:Update
libqt5-qtbase.16542
0002-wasm-disable-XDG_RUNTIME_DIR-warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-wasm-disable-XDG_RUNTIME_DIR-warning.patch of Package libqt5-qtbase.16542
From 0ca01cfb1ab9a8f03dc715fdf9d98a7db0c1e54e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= <morten.sorvig@qt.io> Date: Fri, 22 Mar 2019 09:51:11 +0100 Subject: [PATCH 2/5] wasm: disable XDG_RUNTIME_DIR warning XDG is not very relevant on the Web platform. Change-Id: Ibd885e28da15114d0601c73e34dec556e65cbe75 Reviewed-by: David Faure <david.faure@kdab.com> (cherry picked from commit c4d46723eb8cd17b17b87df230d502a071f4ac19) --- src/corelib/io/qstandardpaths_unix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/io/qstandardpaths_unix.cpp b/src/corelib/io/qstandardpaths_unix.cpp index 78f75482ea..03ae524297 100644 --- a/src/corelib/io/qstandardpaths_unix.cpp +++ b/src/corelib/io/qstandardpaths_unix.cpp @@ -125,7 +125,9 @@ QString QStandardPaths::writableLocation(StandardLocation type) return QString(); } } +#ifndef Q_OS_WASM qWarning("QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '%s'", qPrintable(xdgRuntimeDir)); +#endif } else { fileInfo.setFile(xdgRuntimeDir); if (!fileInfo.exists()) { -- 2.25.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