Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull database connectivity up from Library into MainWindow #1285

Merged
merged 6 commits into from
Jun 17, 2017
Merged

Pull database connectivity up from Library into MainWindow #1285

merged 6 commits into from
Jun 17, 2017

Conversation

uklotzde
Copy link
Contributor

The database belongs to whole the application and not only to the library. And since we're opening a default connection for the main thread that exists until the application is shut down it should explicitly reside in some main application component. The library is just an ordinary client that needs to access the database during its lifetime.

Contains some minor fixes:

  • Unused member variable
  • Uninitialized pointers
  • More documentation and simplified usage of DbConnectionPooled

@daschuer
Copy link
Member

Yes, good idea. LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants