Commits on Source (30)
-
Steve Lhomme authored
Qt5 with QT_USE_QSTRINGBUILDER doesn't like the +.
0c699ef9 -
Steve Lhomme authored
So we don't have to release it manually. This should be backported as Qt5 with QT_USE_QSTRINGBUILDER doesn't like the + in onUpdate(). For some reason Qt6 is OK with that. (cherry picked from commit e063d116) (edited) edited: - the file was moved in 4.0
d77b9e1d -
Steve Lhomme authored
No need to translate to UTF-8 first (which is also not used as such later). (cherry picked from commit 65b9fe62) (edited) edited: - the file was moved in 4.0
fa925464 -
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org> (cherry picked from commit 52d261a0) (edited) edited: - 3.0 doesn't have setupVoutWindow() in components/voutwindow/qvoutwindowdummy.hpp
692d3bb7 -
(cherry picked from commit 258921fd) (edited) edited: - many files were moved in 4.0
548889c1 -
(cherry picked from commit 283b2b48) (edited) edited: - the file was moved in 4.0
adacb4ff -
(cherry picked from commit 04507065) (edited) edited: - 3.0 doesn't have meson - the CPP flags are different on 3.0
c7808325 -
It is dangerous to have implicit casting between QByteArray and pointer types. (cherry picked from commit 18f4f954) (edited) edited: - 3.0 doesn't have meson - the CPP flags are different on 3.0 - 3.0 uses p_intf with config_PutPsz() - some files modified in 4.0 don't exist on 3.0
fffeec5c -
Steve Lhomme authored
Will be gone in 6.10. The replacement Timezone was added in 6.7. And we don't need to set it unless the display format uses a timezone [^1] + [^2]. This avoids this kind of warnings: ``` ./gui/qt/ui/open.h:205:27: warning: 'setTimeSpec' is deprecated: Use setTimeZone() instead [-Wdeprecated-declarations] 205 | stopTimeTimeEdit->setTimeSpec(Qt::LocalTime); | ^ /mnt/s/sources/build/win64-llvm18/contrib/x86_64-w64-mingw32ucrt/include/QtWidgets/qdatetimeedit.h:134:5: note: 'setTimeSpec' has been explicitly marked deprecated here 134 | QT_DEPRECATED_VERSION_X_6_10("Use setTimeZone() instead") | ^ /mnt/s/sources/build/win64-llvm18/contrib/x86_64-w64-mingw32ucrt/include/QtCore/qtdeprecationmarkers.h:187:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_10' 187 | # define QT_DEPRECATED_VERSION_X_6_10(text) QT_DEPRECATED_X(text) | ^ /mnt/s/sources/build/win64-llvm18/contrib/x86_64-w64-mingw32ucrt/include/QtCore/qtdeprecationmarkers.h:29:33: note: expanded from macro 'QT_DEPRECATED_X' 29 | # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) | ^ /mnt/s/sources/build/win64-llvm18/contrib/x86_64-w64-mingw32ucrt/include/QtCore/qcompilerdetection.h:1000:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' 1000 | # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] | ^ ``` [^1]: https://doc.qt.io/qt-6/qdatetimeedit.html#timeZone-prop [^2]: https://doc.qt.io/qt-6/qtime.html#toString (cherry picked from commit 3c07c336) (edited) edited: - the file was moved in 4.0
2c43e321 -
Steve Lhomme authored
It's deprecated and the replacement suggested in the doc [^1]. It's deprecated in Qt 5.15 [^1], since 5.13 [^2], and removed in Qt 6. The commit log of [^2] even mentions its deprecated for all Qt5 but was not marked as such yet. [^1]: https://doc.qt.io/qt-5/qpainter.html#RenderHint-enum [^2]: https://github.com/qt/qtbase/commit/4c522e0226da1bcc67a585130e3b2a976be128fd
b392e345 -
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 5.13 [^2], and removed in Qt 6. The commit log of [^2] even mentions its deprecated for "a long time". [^1]: https://doc.qt.io/qt-5/qtreewidget-obsolete.html#setItemExpanded [^2]: https://github.com/qt/qtbase/commit/76bb804405f424708fffec502788995ea91206b8
71693edd -
Steve Lhomme authored
It's deprecated since Qt 5.15 [^1], and removed in Qt 6. The commit log of [^2] even mentions its deprecated "in the documentation for a while". The QRandomGenerator class was added in Qt 5.10 [^3] so we can't use it before that. [^1]: https://doc.qt.io/qt-5/qtglobal-obsolete.html#qrand [^2]: https://github.com/qt/qtbase/commit/b3c0e9afa0041d4d45e47880732deda1dd1013b9 [^3]: https://doc.qt.io/qt-5/qrandomgenerator.html
b811be7a -
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 5.14 [^2], and removed in Qt 6. The commit log of [^2] even mentions its deprecated for "a log time". [^1]: https://doc.qt.io/qt-5/qt.html#WidgetAttribute-enum [^2]: https://github.com/qt/qtbase/commit/4f6eb43898aa14fef5f3a54966b340188271d85e
55ad77f4 -
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 5.13 [^2], and removed in Qt 6. The commit log of [^2] even mentions its deprecated "since Qt4 times". [^1]: https://doc.qt.io/qt-5/qpixmapcache-obsolete.html#find [^2]: https://github.com/qt/qtbase/commit/daee9af969a04a2919a948ba1f5d314626925a9a
02de7fda -
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 5.8 [^2], and removed in Qt 6. We use a replacement is suggested in [^1]. The commit log of [^2] even mentions its deprecated "since Qt4 times". [^1]: https://doc.qt.io/qt-5/qmodelindex-obsolete.html#child [^2]: https://github.com/qt/qtbase/commit/8dc45d5b7cd9637f28b2d872a834266b991bf434
7ae9caeb -
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 5.0 [^2], and removed in Qt 6. Although the deprecation was delayed to 5.15 because of a Qt3D issue [^3], that we don't use. We use a replacement is suggested in [^1]. The commit log of [^2] even mentions its deprecated "since Qt4 times". [^1]: https://doc.qt.io/qt-5/qwheelevent-obsolete.html#delta [^2]: https://github.com/qt/qtbase/commit/7d29807296cb7ccc7f3459e106d74f93a321c493 [^3]: https://github.com/qt/qtbase/commit/8dc45d5b7cd9637f28b2d872a834266b991bf434
2d21d237 -
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 4.7, and removed in Qt 6. [^1]: https://github.com/qt/qtbase/commit/6ee6c52b57a0fbe9df00b30616afd90476ebdfd6
39742c0b -
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 5.0 [^2], and removed in Qt 6. Although the deprecation was delayed to 5.15 because of a Qt3D issue [^3], that we don't use. We use a replacement is suggested in [^1]. The commit log of [^2] even mentions its deprecated "since Qt4 times". The code is slightly similar to what is found in qtWheelEventToVLCKey(). And borrows from 7498ac55. [^1]: https://doc.qt.io/qt-5/qwheelevent-obsolete.html#orientation [^2]: https://github.com/qt/qtbase/commit/7d29807296cb7ccc7f3459e106d74f93a321c493 [^3]: https://github.com/qt/qtbase/commit/8dc45d5b7cd9637f28b2d872a834266b991bf434
3e2e63bc -
Steve Lhomme authored
globalPosition() doesn't exist in Qt5 but globalPos() is the same thing [^2]. It's deprecated in Qt 5.15 [^1], since 5.0 [^3], and removed in Qt 6. Although the deprecation was delayed to 5.15 because of a Qt3D issue [^4], that we don't use. We use a replacement is suggested in [^1]. The commit log of [^3] even mentions its deprecated "since Qt4 times". [^1]: https://doc.qt.io/qt-6.2/qmouseevent-obsolete.html#globalX [^2]: https://doc.qt.io/qt-5/qmouseevent.html#globalPos [^3]: https://github.com/qt/qtbase/commit/7d29807296cb7ccc7f3459e106d74f93a321c493 [^4]: https://github.com/qt/qtbase/commit/8dc45d5b7cd9637f28b2d872a834266b991bf434
ec38184b -
Steve Lhomme authored
No need for an extra method.
0713a59a -
Steve Lhomme authored
Instead of deprecated nativeEvent() method.
9d22c80f -
Steve Lhomme authored
Removed in 4.0 in 92539782.
2e2cf957 -
Steve Lhomme authored
We can't remove the unused methods because we don't have the proper check in moc.
acad49d6 -
Steve Lhomme authored1e28616a
-
Steve Lhomme authored
Gettting the desktop() object is deprecated and removed in Qt6 [^1]. [^1]: https://doc.qt.io/qt-6/widgets-changes-qt6.html#qdesktopwidget-and-qapplication-desktop
f82e97c9 -
Steve Lhomme authored
Gettting the desktop() object is deprecated and removed in Qt6 [^1]. [^1]: https://doc.qt.io/qt-6/widgets-changes-qt6.html#qdesktopwidget-and-qapplication-desktop
855a2667 -
Steve Lhomme authored
Gettting the desktop() object is deprecated and removed in Qt6 [^1]. [^1]: https://doc.qt.io/qt-6/widgets-changes-qt6.html#qdesktopwidget-and-qapplication-desktop
fc2b1f6d -
Steve Lhomme authored
Gettting the desktop() object is deprecated and removed in Qt6 [^1]. targetScreen() is always within the boundaries of QGuiApplication::screens().length() or -1. And that's always the value used in controller.cpp. [^1]: https://doc.qt.io/qt-6/widgets-changes-qt6.html#qdesktopwidget-and-qapplication-desktop
cf4f31f5 -
Steve Lhomme authored
The constant was added in [^1] in Qt 5.5 which is the minimum we support. [^1]: https://github.com/qt/qtbase/commit/aac6cda8041bc039efbffef5235a6f84bcae326a
7b9c6bf3
Showing
- modules/gui/qt/Makefile.am 2 additions, 0 deletionsmodules/gui/qt/Makefile.am
- modules/gui/qt/components/controller.cpp 43 additions, 12 deletionsmodules/gui/qt/components/controller.cpp
- modules/gui/qt/components/controller.hpp 4 additions, 0 deletionsmodules/gui/qt/components/controller.hpp
- modules/gui/qt/components/extended_panels.hpp 5 additions, 5 deletionsmodules/gui/qt/components/extended_panels.hpp
- modules/gui/qt/components/info_panels.cpp 1 addition, 1 deletionmodules/gui/qt/components/info_panels.cpp
- modules/gui/qt/components/info_panels.hpp 1 addition, 1 deletionmodules/gui/qt/components/info_panels.hpp
- modules/gui/qt/components/interface_widgets.cpp 14 additions, 1 deletionmodules/gui/qt/components/interface_widgets.cpp
- modules/gui/qt/components/interface_widgets.hpp 7 additions, 2 deletionsmodules/gui/qt/components/interface_widgets.hpp
- modules/gui/qt/components/open_panels.cpp 4 additions, 9 deletionsmodules/gui/qt/components/open_panels.cpp
- modules/gui/qt/components/playlist/selector.cpp 2 additions, 2 deletionsmodules/gui/qt/components/playlist/selector.cpp
- modules/gui/qt/components/playlist/selector.hpp 4 additions, 0 deletionsmodules/gui/qt/components/playlist/selector.hpp
- modules/gui/qt/components/playlist/standardpanel.cpp 1 addition, 1 deletionmodules/gui/qt/components/playlist/standardpanel.cpp
- modules/gui/qt/components/playlist/vlc_model.cpp 3 additions, 3 deletionsmodules/gui/qt/components/playlist/vlc_model.cpp
- modules/gui/qt/components/preferences_widgets.cpp 3 additions, 5 deletionsmodules/gui/qt/components/preferences_widgets.cpp
- modules/gui/qt/components/preferences_widgets.hpp 1 addition, 1 deletionmodules/gui/qt/components/preferences_widgets.hpp
- modules/gui/qt/components/simple_preferences.cpp 17 additions, 13 deletionsmodules/gui/qt/components/simple_preferences.cpp
- modules/gui/qt/dialogs/convert.cpp 2 additions, 2 deletionsmodules/gui/qt/dialogs/convert.cpp
- modules/gui/qt/dialogs/extensions.hpp 2 additions, 2 deletionsmodules/gui/qt/dialogs/extensions.hpp
- modules/gui/qt/dialogs/gototime.hpp 2 additions, 2 deletionsmodules/gui/qt/dialogs/gototime.hpp
- modules/gui/qt/dialogs/help.cpp 1 addition, 1 deletionmodules/gui/qt/dialogs/help.cpp