From d9186a02f3bcf03844e2bf3aaed2ee4cc3b3a1f3 Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Tue, 24 Mar 2020 16:16:28 +0100 Subject: [PATCH 1/2] Fixed Qt 5.15 deprecated warnings --- src/QY2Styler.cc | 2 +- src/YQComboBox.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QY2Styler.cc b/src/QY2Styler.cc index 3b3a643f..0c1cd053 100644 --- a/src/QY2Styler.cc +++ b/src/QY2Styler.cc @@ -301,7 +301,7 @@ void QY2Styler::registerChildWidget( QWidget * parent, QWidget * widget ) { // Don't use yuiDebug() here - deadlock (reason unknown so far) in thread handling! - qDebug() << "Registering " << widget << " for parent " << parent << endl; + qDebug() << "Registering " << widget << " for parent " << parent << Qt::endl; widget->installEventFilter( this ); _children[parent].push_back( widget ); } diff --git a/src/YQComboBox.cc b/src/YQComboBox.cc index 31034fa8..4b4e6139 100644 --- a/src/YQComboBox.cc +++ b/src/YQComboBox.cc @@ -76,7 +76,7 @@ YQComboBox::YQComboBox( YWidget * parent, this, &pclass(this)::slotSelected ); #endif - connect( _qt_comboBox, static_cast(&QComboBox::activated), + connect( _qt_comboBox, static_cast(&QComboBox::textActivated), this, &pclass(this)::textChanged ); connect( _qt_comboBox, &pclass(_qt_comboBox)::editTextChanged, From de3299de235b32c315b6753073e74499f3fb80a9 Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Tue, 24 Mar 2020 17:20:06 +0100 Subject: [PATCH 2/2] Version bump and change log --- VERSION.cmake | 2 +- package/libyui-qt-doc.spec | 2 +- package/libyui-qt.changes | 6 ++++++ package/libyui-qt.spec | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/VERSION.cmake b/VERSION.cmake index 902b8c89..56ffcc9c 100644 --- a/VERSION.cmake +++ b/VERSION.cmake @@ -1,6 +1,6 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "52") -SET(VERSION_PATCH "2") +SET(VERSION_PATCH "3") SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is needed for the libyui-qt core ONLY. diff --git a/package/libyui-qt-doc.spec b/package/libyui-qt-doc.spec index 79e215e5..0328742b 100644 --- a/package/libyui-qt-doc.spec +++ b/package/libyui-qt-doc.spec @@ -21,7 +21,7 @@ Name: %{parent}-doc # DO NOT manually bump the version here; instead, use rake version:bump -Version: 2.52.2 +Version: 2.52.3 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff --git a/package/libyui-qt.changes b/package/libyui-qt.changes index 040441fa..ee409ec0 100644 --- a/package/libyui-qt.changes +++ b/package/libyui-qt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 24 16:18:31 UTC 2020 - Stefan Hundhammer + +- Fixed Qt 5.15 deprecated warnings (bsc#1165118) +- 2.53.3 + ------------------------------------------------------------------- Mon Feb 17 11:29:24 UTC 2020 - Stefan Hundhammer diff --git a/package/libyui-qt.spec b/package/libyui-qt.spec index cba5d95c..28d1c65e 100644 --- a/package/libyui-qt.spec +++ b/package/libyui-qt.spec @@ -18,7 +18,7 @@ Name: libyui-qt # DO NOT manually bump the version here; instead, use rake version:bump -Version: 2.52.2 +Version: 2.52.3 Release: 0 Source: %{name}-%{version}.tar.bz2