1
0
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:
Leo Franchi 2012-06-15 10:22:27 +02:00
parent 514841cf1c
commit e18594994c

View File

@ -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;