Due to a Qt bug on OS X we need to browse for *.gz not *.tar.gz

Esse commit está contido em:
Benjamin Dobell
2015-03-05 18:10:28 +11:00
commit 2ad53a5100
+2 -2
Ver Arquivo
@@ -505,7 +505,7 @@ void MainWindow::SelectFirmwarePackage(void)
loadedPackageData.Clear();
UpdatePackageUserInterface();
QString path = PromptFileSelection("Select Package", "*.tar.gz");
QString path = PromptFileSelection("Select Package", "Firmware Package (*.gz)");
firmwarePackageLineEdit->setText(path);
if (firmwarePackageLineEdit->text() != "")
@@ -1059,7 +1059,7 @@ void MainWindow::RemoveDevice(void)
void MainWindow::BuildPackage(void)
{
QString packagePath = PromptFileCreation("Save Package", "*.tar.gz");
QString packagePath = PromptFileCreation("Save Package", "Firmware Package (*.gz)");
if (!packagePath.isEmpty())
{