silence log spam wrt "Invalid Context..." (#1708740)

epel8
Rex Dieter 6 years ago
parent 4a0779959b
commit 179917ac6a

@ -2,7 +2,7 @@
Name: kf5-%{framework}
Version: 5.60.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 integration module with icon themes
License: LGPLv2+ and GPLv2+
@ -19,6 +19,9 @@ Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{v
## upstream patches
## upstreamable patches
Patch100: kiconthemes-5.60.0-context_logspam.patch
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-karchive-devel >= %{majmin}
BuildRequires: kf5-kconfigwidgets-devel >= %{majmin}
@ -83,6 +86,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Thu Jul 18 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.60.0-2
- silence log spam wrt "Invalid Context..." (#1708740)
* Sat Jul 13 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.60.0-1
- 5.60.0

@ -0,0 +1,12 @@
diff -up kiconthemes-5.60.0/src/kicontheme.cpp.logspam kiconthemes-5.60.0/src/kicontheme.cpp
--- kiconthemes-5.60.0/src/kicontheme.cpp.logspam 2019-07-07 13:34:23.000000000 -0500
+++ kiconthemes-5.60.0/src/kicontheme.cpp 2019-07-18 08:25:14.857727321 -0500
@@ -764,7 +764,7 @@ KIconThemeDir::KIconThemeDir(const QStri
} else if (tmp.isEmpty()) {
// do nothing. key not required
} else {
- qWarning() << "Invalid Context=" << tmp << "line for icon theme: " << constructFileName(QString());
+ qDebug() << "Invalid Context=" << tmp << "line for icon theme: " << constructFileName(QString());
return;
}
tmp = config.readEntry(QStringLiteral("Type"), QStringLiteral("Threshold"));
Loading…
Cancel
Save