Changeset 176 for smplayer/trunk/src/filepropertiesdialog.cpp
- Timestamp:
- May 3, 2016, 5:25:45 PM (10 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/filepropertiesdialog.cpp (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 175
- Property svn:mergeinfo changed
-
smplayer/trunk/src/filepropertiesdialog.cpp
r165 r176 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 4Ricardo Villalba <[email protected]>2 Copyright (C) 2006-201 Ricardo Villalba <[email protected]> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 24 24 #include "images.h" 25 25 #include "infofile.h" 26 26 #include "playerid.h" 27 27 28 28 FilePropertiesDialog::FilePropertiesDialog( QWidget* parent, Qt::WindowFlags f ) … … 37 37 connect( applyButton, SIGNAL(clicked()), this, SLOT(apply()) ); 38 38 39 39 40 codecs_set = false; 40 41 // Read codec info from InfoReader: 42 InfoReader *i = InfoReader::obj(); 43 setCodecs( i->vcList(), i->acList(), i->demuxerList() ); 41 #else 42 // Hide unused tabs 43 int i = tabWidget->indexOf(demuxer_page); 44 if (i != -1) tabWidget->removeTab(i); 45 i = tabWidget->indexOf(vc_page); 46 if (i != -1) tabWidget->removeTab(i); 47 i = tabWidget->indexOf(ac_page); 48 if (i != -1) tabWidget->removeTab(i); 49 #endif 44 50 45 51 retranslateStrings(); … … 73 79 #endif 74 80 81 82 83 84 85 86 87 88 89 75 90 } 76 91 … … 90 105 } 91 106 107 92 108 void FilePropertiesDialog::setCodecs(InfoList vc, InfoList ac, InfoList demuxer) 93 109 { … … 96 112 demuxerlist = demuxer; 97 113 114 115 116 117 118 119 120 121 98 122 InfoList::iterator it; 99 123 … … 110 134 } 111 135 112 codecs_set = true; 136 codecs_set = true; 113 137 } 114 138 … … 189 213 return -1; 190 214 } 215 191 216 192 217 void FilePropertiesDialog::setMplayerAdditionalArguments(QString args) {
Note:
See TracChangeset
for help on using the changeset viewer.
