Improved version of "Allow to delete data directory from application view"

- split functions into dynamic loading and const versions (loading at startup)
- reload other versions from wizard in case they changed
- some renaming/formatting
This commit is contained in:
Klaus Basan
2018-12-02 04:27:59 +01:00
parent d18c763869
commit 7fc6fcb867
13 changed files with 104 additions and 55 deletions

View File

@@ -41,6 +41,9 @@ namespace BlackGui
//! Get the selected other version
BlackMisc::CApplicationInfo selectedOtherVersion() const;
//! Reload versions
void reloadOtherVersions();
signals:
//! Selection changed
void versionChanged(const BlackMisc::CApplicationInfo &info);
@@ -48,9 +51,6 @@ namespace BlackGui
private:
QScopedPointer<Ui::COtherSwiftVersionsComponent> ui;
//! Reload versions
void reloadVersions();
//! Data directory
void openDataDirectory();