Ref T455, fixes for simulator settings

* trace unsaved changes
* use stripped paths for exclude patterns
* added missing "parseExcludeDirectories" which was the source of the reported 1st bug
This commit is contained in:
Klaus Basan
2018-12-06 23:45:50 +01:00
parent 76913fd069
commit 49affde15b
4 changed files with 58 additions and 7 deletions

View File

@@ -40,6 +40,12 @@ namespace BlackGui
//! Save data
void save();
//! Has unsaved changes
bool hasUnsavedChanges() const;
//! Reset the flag
void resetUnsavedChanges();
private:
//! Preselect simulators
void preselectSimulators();
@@ -64,6 +70,9 @@ namespace BlackGui
//! Set config
void setConfigComponent(CConfigSimulatorComponent *config) { m_config = config; }
//! \copydoc QWizardPage::initializePage
virtual void initializePage() override;
//! \copydoc QWizardPage::validatePage
virtual bool validatePage() override;