Commit 13df93e3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 -reinventing the wheel is ALWAYS a good idea...

parent 076ff7c9
......@@ -551,7 +551,7 @@ QSize MainInterface::sizeHint() const
if( !dockPL->isFloating() && dockPL->isVisible() && dockPL->widget() )
{
nheight += dockPL->size().height();
nwidth = MAX( nwidth, dockPL->size().width() );
nwidth = __MAX( nwidth, dockPL->size().width() );
msg_Dbg( p_intf, "3 %i %i", nheight, nwidth );
}
msg_Dbg( p_intf, "4 %i %i", nheight, nwidth );
......
......@@ -93,8 +93,6 @@ struct intf_sys_t
#define TOGGLEV( x ) { if( x->isVisible() ) x->hide(); \
else x->show(); }
#define MAX(A,B) ( (A) > (B) ? (A):(B))
static int DialogEvent_Type = QEvent::User + 1;
//static int PLUndockEvent_Type = QEvent::User + 2;
//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