Fix crash when starting to add connection.

Caused by uninitialized variable. Commit contains some minor style fixes also.
This commit is contained in:
eelke 2019-09-02 16:33:13 +02:00
parent 7f88b98cdd
commit bcfd82c27d
5 changed files with 32 additions and 27 deletions

View file

@ -139,7 +139,7 @@ private:
std::string m_encodedPassword;
bool m_dirty = false;
ConnectionGroup* m_group;
ConnectionGroup* m_group = nullptr;
static void strToEnv(QProcessEnvironment &env, const QString &var, const std::string &val);