[vlc-commits] Qt: remove manual DPI calculations

Anatoliy Anischovich git at videolan.org
Mon Aug 8 19:44:10 CEST 2016


vlc | branch: master | Anatoliy Anischovich <lin.aaa.lin at gmail.com> | Sun Aug  7 00:11:55 2016 +0300| [c290464a2f9a2974d3f107f6316227b18cdbd490] | committer: Jean-Baptiste Kempf

Qt: remove manual DPI calculations

Since 5.6, Qt fully use an abstract coordinate system, no need to mess with calculating DPI by ourself.

Reverting these commits:
https://git.videolan.org/?p=vlc.git;a=commitdiff;h=a59edbf5c2e7633996cf49c9aef6849ae6e8b1e7
https://git.videolan.org/?p=vlc.git;a=commitdiff;h=f4171d24a3a4ad144669d55ed6d670aa98c2e380

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c290464a2f9a2974d3f107f6316227b18cdbd490
---

 modules/gui/qt/components/controller.cpp        | 20 ++++--------
 modules/gui/qt/components/controller_widget.cpp | 15 +++++----
 modules/gui/qt/components/controller_widget.hpp |  1 -
 modules/gui/qt/qt.hpp                           |  2 --
 modules/gui/qt/util/input_slider.cpp            | 42 +++++++------------------
 modules/gui/qt/util/input_slider.hpp            |  2 --
 6 files changed, 27 insertions(+), 55 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=c290464a2f9a2974d3f107f6316227b18cdbd490


More information about the vlc-commits mailing list