mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Show delete playlist dialog as a sheet on OS X
This commit is contained in:
parent
514841cf1c
commit
e18594994c
@ -367,6 +367,10 @@ SourceTreeView::deletePlaylist( const QModelIndex& idxIn )
|
||||
.arg( typeDesc ).arg( idx.data().toString() ),
|
||||
QMessageBox::Yes | QMessageBox::No, this );
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
askDelete.setWindowModality( Qt::WindowModal );
|
||||
#endif
|
||||
|
||||
int r = askDelete.exec();
|
||||
if ( r != QMessageBox::Yes )
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user