[vlc-commits] gui:qt: use Vista styling on Windows

Steve Lhomme git at videolan.org
Thu Aug 23 18:15:54 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Aug 22 08:28:19 2018 +0200| [0630bfa0436105ae7e24051cc16031c8ce2d77f5] | committer: Hugo Beauzée-Luyssen

gui:qt: use Vista styling on Windows

Fixes #20780

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 modules/gui/qt/qt.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 1128633386..6fdbda06fa 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -76,6 +76,9 @@ extern "C" char **environ;
   #if !HAS_QT56
    Q_IMPORT_PLUGIN(AccessibleFactory)
   #endif
+  #ifdef _WIN32
+   Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin)
+  #endif
  #endif
 #endif
 



More information about the vlc-commits mailing list