From aaef34e66368a2803ae876d734809b69f0c258a2 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 27 Jan 2011 13:06:32 +0100 Subject: Finished metadata Created a modes for metadata, revamped NewMovieWizard to use the model and created a MetadataWidget to edit and display metadata. --- filestreewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filestreewidget.cpp') diff --git a/filestreewidget.cpp b/filestreewidget.cpp index 9dd4857..c4604fb 100644 --- a/filestreewidget.cpp +++ b/filestreewidget.cpp @@ -166,7 +166,7 @@ void FilesTreeWidget::fileProperties(){ } QString fullPath = real.data(FilesTreeModel::FullPathRole).toString(); QString mimeType = Helper::mimeType(fullPath); - FilePropertiesDialog dlg(this); + FilePropertiesDialog dlg(real.data(FilesTreeModel::SeriesPartIdRole).toInt(), this); if(mimeType.startsWith("video")){ QList > fileData = mModel->streamInfo(real); dlg.setFileName(real.data(FilesTreeModel::FileNameRole).toString()); -- cgit v1.2.3-70-g09d2