diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-03-21 04:42:56 +0100 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-03-21 04:42:56 +0100 |
commit | cde75446674732fdc7386f41d27eaaf92cd49dfc (patch) | |
tree | 773f48f3e8c4fe1003e9486a8dd4cb5546c9d0b3 /heimdall-frontend/source/mainwindow.cpp | |
parent | QList properties are now accessible in QML via QQmlListProperty (diff) | |
download | Heimdall-cde75446674732fdc7386f41d27eaaf92cd49dfc.tar Heimdall-cde75446674732fdc7386f41d27eaaf92cd49dfc.tar.gz Heimdall-cde75446674732fdc7386f41d27eaaf92cd49dfc.tar.bz2 Heimdall-cde75446674732fdc7386f41d27eaaf92cd49dfc.tar.lz Heimdall-cde75446674732fdc7386f41d27eaaf92cd49dfc.tar.xz Heimdall-cde75446674732fdc7386f41d27eaaf92cd49dfc.tar.zst Heimdall-cde75446674732fdc7386f41d27eaaf92cd49dfc.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall-frontend/source/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heimdall-frontend/source/mainwindow.cpp b/heimdall-frontend/source/mainwindow.cpp index 255c0b5..d28cdc7 100644 --- a/heimdall-frontend/source/mainwindow.cpp +++ b/heimdall-frontend/source/mainwindow.cpp @@ -553,7 +553,6 @@ void MainWindow::LoadFirmwarePackage(void) } workingPackageData.GetFilePaths().append(loadedPackageData.GetFilePaths()); - workingPackageData.SetPackagePath(loadedPackageData.GetPackagePath()); QString pitFilename = loadedPackageData.GetFirmwareInfo()->GetPitFilename(); @@ -581,7 +580,8 @@ void MainWindow::LoadFirmwarePackage(void) workingPackageData.GetFirmwareInfo()->SetRepartition(loadedPackageData.GetFirmwareInfo()->GetRepartition()); workingPackageData.GetFirmwareInfo()->SetNoReboot(loadedPackageData.GetFirmwareInfo()->GetNoReboot()); - loadedPackageData.Clear(false); + workingPackageData.GetOwnedDirectories().append(loadedPackageData.GetOwnedDirectories()); + loadedPackageData.GetOwnedDirectories().clear(); UpdateUnusedPartitionIds(); UpdatePackageUserInterface(); |