Fix crash when starting to add connection.
Caused by uninitialized variable. Commit contains some minor style fixes also.
This commit is contained in:
parent
7f88b98cdd
commit
bcfd82c27d
5 changed files with 32 additions and 27 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue