Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Qt 5.15 Deprecated Warnings #127

Merged
merged 2 commits into from
Mar 24, 2020
Merged

Fixed Qt 5.15 Deprecated Warnings #127

merged 2 commits into from
Mar 24, 2020

Conversation

shundhammer
Copy link
Contributor

@shundhammer shundhammer commented Mar 24, 2020

@@ -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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not clear for me why here change is required and e.g. at https://github.com/libyui/libyui-qt/pull/127/files#diff-f5ec953a1b429e30261a13ae62c10577R245 it uses plain endl.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand QTextStream used to have its own ::endl() which is now gone.

@shundhammer shundhammer merged commit 64c0106 into libyui:master Mar 24, 2020
@shundhammer shundhammer deleted the huha-qt-5-15-fixes branch March 24, 2020 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants