mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Remove sizegrip on sliding sheets on osx
This commit is contained in:
@@ -42,6 +42,12 @@ public:
|
|||||||
v->addWidget( buttons );
|
v->addWidget( buttons );
|
||||||
|
|
||||||
setLayout( v );
|
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:
|
public slots:
|
||||||
void closed( QAbstractButton* b )
|
void closed( QAbstractButton* b )
|
||||||
|
Reference in New Issue
Block a user