[vlc-commits] [Git][videolan/vlc][master] qt: fix crash on start with Qt 6.2
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Nov 1 11:27:36 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
a49d195d by Fatih Uzunoglu at 2024-11-01T11:13:53+00:00
qt: fix crash on start with Qt 6.2
Using auto makes the result a QStringBuilder,
and by the time string is constructed from
the string builder, the operated strings are
already gone.
- - - - -
1 changed file:
- modules/gui/qt/util/color_svg_image_provider.cpp
Changes:
=====================================
modules/gui/qt/util/color_svg_image_provider.cpp
=====================================
@@ -215,7 +215,7 @@ SVGColorImageBuilder::SVGColorImageBuilder(QString path, QObject* parent)
QString SVGColorImageBuilder::uri() const
{
- auto ret = QString{"image://svgcolor/?"} + m_query.toString(QUrl::FullyEncoded);
+ const QString ret = QStringLiteral("image://svgcolor/?") + m_query.toString(QUrl::FullyEncoded);
return ret;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a49d195d564471487147c21e25c9dbcc76a8b433
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a49d195d564471487147c21e25c9dbcc76a8b433
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list