[vlc-devel] [PATCH 4/8] gui/qt: qt.hpp: remove unused macro VISIBLE

Filip Roséen filip at atch.se
Mon Mar 20 13:41:54 CET 2017


---
 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 e077a5b288..15dea9fe6c 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 );
 
-- 
2.12.0


More information about the vlc-devel mailing list