Commit ac443292 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - move the VISIBLE() define to qt4.hpp to use it everywhere.

parent 8574a659
...@@ -88,6 +88,8 @@ struct intf_sys_t ...@@ -88,6 +88,8 @@ struct intf_sys_t
BUTTON_SET_IMG( button, text, image, tooltip ); \ BUTTON_SET_IMG( button, text, image, tooltip ); \
BUTTONACT( button, thisslot ); BUTTONACT( button, thisslot );
#define VISIBLE(i) (i && i->isVisible())
static int DialogEvent_Type = QEvent::User + 1; static int DialogEvent_Type = QEvent::User + 1;
static int PLUndockEvent_Type = QEvent::User + 2; static int PLUndockEvent_Type = QEvent::User + 2;
static int PLDockEvent_Type = QEvent::User + 3; static int PLDockEvent_Type = QEvent::User + 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment