1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

Remove sizegrip on sliding sheets on osx

This commit is contained in:
Leo Franchi 2011-05-12 11:12:19 +02:00
parent 968971a3cf
commit 5566eddd05

View File

@ -42,6 +42,12 @@ public:
v->addWidget( buttons );
setLayout( v );
#ifdef Q_OS_MAC
setSizeGripEnabled( false );
setMinimumSize( sizeHint() );
setMaximumSize( sizeHint() ); // to remove the resize grip on osx this is the only way
#endif
}
public slots:
void closed( QAbstractButton* b )