[vlc-commits] gui/qt: qt.hpp: remove unused macro VISIBLE

Filip Roséen git at videolan.org
Mon Mar 20 13:53:06 CET 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Mar 20 13:41:54 2017 +0100| [795eb16c25ef49ee8e170953eb791b3126a5d532] | committer: Hugo Beauzée-Luyssen

gui/qt: qt.hpp: remove unused macro VISIBLE

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

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

 modules/gui/qt/qt.hpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/gui/qt/qt.hpp b/modules/gui/qt/qt.hpp
index e077a5b..15dea9f 100644
--- a/modules/gui/qt/qt.hpp
+++ b/modules/gui/qt/qt.hpp
@@ -151,8 +151,6 @@ struct vlc_playlist_locker {
     BUTTON_SET_IMG( button, text, image, tooltip );                \
     BUTTONACT( button, thisslot );
 
-#define VISIBLE(i) (i && i->isVisible())
-
 /* for widgets which must not follow the RTL auto layout changes */
 #define RTL_UNAFFECTED_WIDGET setLayoutDirection( Qt::LeftToRight );
 



More information about the vlc-commits mailing list