Improved connection error handling.
Just returning a boolean is too limiting. Using expection instead to easily pass on error message.
This commit is contained in:
parent
646b18ebeb
commit
a88af1ac11
5 changed files with 41 additions and 41 deletions
|
|
@ -34,7 +34,7 @@ private:
|
|||
TypeSelectionItemModel *m_typeSelectionModel = nullptr;
|
||||
|
||||
OpenDatabase(const ConnectionConfig& cfg);
|
||||
bool Init();
|
||||
void Init();
|
||||
};
|
||||
|
||||
#endif // OPENDATABASE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue