GH-1339 do not destroy console window while screenshot upload is active

This commit is contained in:
Petr Mrázek
2015-12-03 23:00:51 +01:00
parent b5902b739e
commit a5b8f22eab
3 changed files with 8 additions and 1 deletions

View File

@@ -63,6 +63,10 @@ public:
{
return "Screenshots-management";
}
virtual bool apply() override
{
return !m_uploadActive;
}
private slots:
void on_uploadBtn_clicked();
void on_deleteBtn_clicked();
@@ -76,4 +80,5 @@ private:
std::shared_ptr<QIdentityProxyModel> m_filterModel;
QString m_folder;
bool m_valid = false;
bool m_uploadActive = false;
};