logic: Ask user before reparsing the project

While the message box with the question is visible the ui is blocked. A message appears when:
* when project was edited
* when preferences were edited
* when project file has more recent changes than db
* when db has a different version than Coati
This commit is contained in:
Eberhard Graether
2016-04-24 22:47:39 +02:00
parent a6e57a6564
commit 6be207a68a
16 changed files with 342 additions and 70 deletions
+3 -1
View File
@@ -10,8 +10,11 @@ class ApplicationSettings
{
public:
static std::shared_ptr<ApplicationSettings> getInstance();
ApplicationSettings();
~ApplicationSettings();
bool operator==(const ApplicationSettings& other) const;
int getMaxRecentProjectsCount() const;
// source
@@ -77,7 +80,6 @@ public:
void setLicenseCheck(const std::string& hash);
private:
ApplicationSettings();
ApplicationSettings(const ApplicationSettings&);
void operator=(const ApplicationSettings&);