Index: sources/gui/qml/pages/settings/SettingsExportLogs.qml =================================================================== diff -u -ra8f982318e444fb1f92ca2e6c1f3446fe9506c2e -rac121d27e4b3c4ca5be931f7da167b93381dc0ba --- sources/gui/qml/pages/settings/SettingsExportLogs.qml (.../SettingsExportLogs.qml) (revision a8f982318e444fb1f92ca2e6c1f3446fe9506c2e) +++ sources/gui/qml/pages/settings/SettingsExportLogs.qml (.../SettingsExportLogs.qml) (revision ac121d27e4b3c4ca5be931f7da167b93381dc0ba) @@ -135,12 +135,13 @@ } Connections { target: _GuiView - onSdIsReadyChanged: { - _root.updatePanels() - } - onDidExportStat: { - _sdcFolderView.positionViewAtIndex(vIndex, ListView.Center) - } + function onSdIsReadyChanged ( vValue ) { _root.updatePanels() } + function onDidExportStat ( vIndex, vFileName, vPercent ) { _sdcFolderView.positionViewAtIndex(vIndex, ListView.Center) } + function onDidUSBDriveUmount ( ) { _usbFolderColumn. clearModel ( ) } + function onDidUSBDriveRemove ( ) { _usbFolderColumn. clearModel ( ) } + function onDidExportLog ( vValue ) { _usbFolderColumn. clearModel ( ) } + function onDidUSBDriveMount ( ) { _usbFolderColumn.updateModel ( ) } + function onDidExport ( ) { _usbFolderColumn.updateModel ( ) } } USBButton { id: _usbEjectButton @@ -380,7 +381,7 @@ marker.visible : false maximum : 100 // percent value : maximum - exportPercent - width : parent.width + width : _sdcFolderView.width height : 40 bgColor : Colors.transparent color : inExportList ? Colors.borderButtonSelected : Colors.transparent @@ -446,14 +447,6 @@ } } - Connections { target: _GuiView - onDidUSBDriveUmount : _usbFolderColumn. clearModel() - onDidUSBDriveRemove : _usbFolderColumn. clearModel() - onDidExportLog : _usbFolderColumn. clearModel() - onDidUSBDriveMount : _usbFolderColumn.updateModel() - onDidExport : _usbFolderColumn.updateModel() - } - spacing : 5 width : _contentRect.columnWidthFolder height : parent.height @@ -491,7 +484,7 @@ } Component { id : _usbFileDelegate Row { id : _usbFileRow - width : parent.width + width : _usbFolderView.width height : 40 Text { id : _usbFileNameText clip : true