Include future options in settings dialog.
Only send the file name to the progress dialog.
This commit is contained in:
		@@ -25,7 +25,7 @@ official CMA and also offer some features missing in the original one.
 | 
			
		||||
* Fix streaming for music.
 | 
			
		||||
 | 
			
		||||
## Planned features
 | 
			
		||||
* **DLNA bridge**: connect an existing DLNA server to interface with the Vita
 | 
			
		||||
* **UPNP bridge**: connect an existing UPNP server to interface with the Vita
 | 
			
		||||
using the wireless streaming feature.
 | 
			
		||||
 | 
			
		||||
#### Dependencies
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										102
									
								
								configwidget.ui
									
									
									
									
									
								
							
							
						
						
									
										102
									
								
								configwidget.ui
									
									
									
									
									
								
							@@ -191,6 +191,108 @@
 | 
			
		||||
        <attribute name="title">
 | 
			
		||||
         <string>Other</string>
 | 
			
		||||
        </attribute>
 | 
			
		||||
        <layout class="QGridLayout" name="gridLayout_3">
 | 
			
		||||
         <item row="2" column="0">
 | 
			
		||||
          <layout class="QVBoxLayout" name="verticalLayout_8">
 | 
			
		||||
           <item>
 | 
			
		||||
            <widget class="QLabel" name="label_7">
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string><html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:600;">Advanced settings</span></p></body></html></string>
 | 
			
		||||
             </property>
 | 
			
		||||
            </widget>
 | 
			
		||||
           </item>
 | 
			
		||||
           <item>
 | 
			
		||||
            <widget class="QCheckBox" name="checkBox">
 | 
			
		||||
             <property name="enabled">
 | 
			
		||||
              <bool>false</bool>
 | 
			
		||||
             </property>
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string>Offline Mode</string>
 | 
			
		||||
             </property>
 | 
			
		||||
             <property name="checked">
 | 
			
		||||
              <bool>true</bool>
 | 
			
		||||
             </property>
 | 
			
		||||
            </widget>
 | 
			
		||||
           </item>
 | 
			
		||||
           <item>
 | 
			
		||||
            <widget class="QCheckBox" name="checkBox_2">
 | 
			
		||||
             <property name="enabled">
 | 
			
		||||
              <bool>false</bool>
 | 
			
		||||
             </property>
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string>Skip metadata extraction</string>
 | 
			
		||||
             </property>
 | 
			
		||||
            </widget>
 | 
			
		||||
           </item>
 | 
			
		||||
           <item>
 | 
			
		||||
            <widget class="QCheckBox" name="checkBox_3">
 | 
			
		||||
             <property name="enabled">
 | 
			
		||||
              <bool>false</bool>
 | 
			
		||||
             </property>
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string>Update database automatically when files on the PC are changed</string>
 | 
			
		||||
             </property>
 | 
			
		||||
            </widget>
 | 
			
		||||
           </item>
 | 
			
		||||
           <item>
 | 
			
		||||
            <widget class="QCheckBox" name="checkBox_4">
 | 
			
		||||
             <property name="enabled">
 | 
			
		||||
              <bool>false</bool>
 | 
			
		||||
             </property>
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string>Disable USB monitoring</string>
 | 
			
		||||
             </property>
 | 
			
		||||
            </widget>
 | 
			
		||||
           </item>
 | 
			
		||||
           <item>
 | 
			
		||||
            <widget class="QCheckBox" name="checkBox_5">
 | 
			
		||||
             <property name="enabled">
 | 
			
		||||
              <bool>false</bool>
 | 
			
		||||
             </property>
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string>Disable Wi-Fi monitoring</string>
 | 
			
		||||
             </property>
 | 
			
		||||
            </widget>
 | 
			
		||||
           </item>
 | 
			
		||||
           <item>
 | 
			
		||||
            <layout class="QFormLayout" name="formLayout">
 | 
			
		||||
             <item row="0" column="0">
 | 
			
		||||
              <widget class="QLabel" name="label_8">
 | 
			
		||||
               <property name="text">
 | 
			
		||||
                <string>Database backend</string>
 | 
			
		||||
               </property>
 | 
			
		||||
              </widget>
 | 
			
		||||
             </item>
 | 
			
		||||
             <item row="0" column="1">
 | 
			
		||||
              <widget class="QComboBox" name="comboBox">
 | 
			
		||||
               <property name="enabled">
 | 
			
		||||
                <bool>false</bool>
 | 
			
		||||
               </property>
 | 
			
		||||
               <item>
 | 
			
		||||
                <property name="text">
 | 
			
		||||
                 <string>In Memory</string>
 | 
			
		||||
                </property>
 | 
			
		||||
               </item>
 | 
			
		||||
              </widget>
 | 
			
		||||
             </item>
 | 
			
		||||
            </layout>
 | 
			
		||||
           </item>
 | 
			
		||||
           <item>
 | 
			
		||||
            <spacer name="verticalSpacer">
 | 
			
		||||
             <property name="orientation">
 | 
			
		||||
              <enum>Qt::Vertical</enum>
 | 
			
		||||
             </property>
 | 
			
		||||
             <property name="sizeHint" stdset="0">
 | 
			
		||||
              <size>
 | 
			
		||||
               <width>20</width>
 | 
			
		||||
               <height>40</height>
 | 
			
		||||
              </size>
 | 
			
		||||
             </property>
 | 
			
		||||
            </spacer>
 | 
			
		||||
           </item>
 | 
			
		||||
          </layout>
 | 
			
		||||
         </item>
 | 
			
		||||
        </layout>
 | 
			
		||||
       </widget>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
 
 | 
			
		||||
@@ -215,7 +215,7 @@ int Database::recursiveScanRootDirectory(root_list &list, CMAObject *parent, int
 | 
			
		||||
        } else {
 | 
			
		||||
            CMAObject *obj = new CMAObject(parent);
 | 
			
		||||
            obj->initObject(info);
 | 
			
		||||
            emit fileAdded(obj->path);
 | 
			
		||||
            emit fileAdded(obj->metadata.name);
 | 
			
		||||
            //qDebug("Added %s to database with OHFI %d", obj->metadata.name, obj->metadata.ohfi);
 | 
			
		||||
            list << obj;
 | 
			
		||||
            if(info.isDir()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user