File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/gui/qt4/components/playlist Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ bool StandardPLPanel::popup( const QPoint &point )
244
244
/* Playlist sorting */
245
245
if ( model->isSupportedAction ( VLCModelSubInterface::ACTION_SORT, index ) )
246
246
{
247
- QMenu *sortingMenu = new QMenu ( qtr ( " Sort by" ) );
247
+ QMenu *sortingMenu = new QMenu ( qtr ( " Sort by" ), &menu );
248
248
/* Choose what columns to show in sorting menu, not sure if this should be configurable*/
249
249
QList<int > sortingColumns;
250
250
sortingColumns << COLUMN_TITLE << COLUMN_ARTIST << COLUMN_ALBUM << COLUMN_TRACK_NUMBER << COLUMN_URI;
@@ -263,7 +263,7 @@ bool StandardPLPanel::popup( const QPoint &point )
263
263
}
264
264
265
265
/* Zoom */
266
- QMenu *zoomMenu = new QMenu ( qtr ( " Display size" ) );
266
+ QMenu *zoomMenu = new QMenu ( qtr ( " Display size" ), &menu );
267
267
zoomMenu->addAction ( qtr ( " Increase" ), this , SLOT ( increaseZoom () ) );
268
268
zoomMenu->addAction ( qtr ( " Decrease" ), this , SLOT ( decreaseZoom () ) );
269
269
menu.addMenu ( zoomMenu );
You can’t perform that action at this time.
0 commit comments