mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Remove sizegrip on sliding sheets on osx
This commit is contained in:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user