qbittorrent/qBittorrent — pull request #2289 by glassez (2014-12-15 12:29:47+00:00)
Title: Improve program startup code.

Avoid unnecessary classes creation.
Simplify main() logic.
Add Application class and put application initialization code to it.
Place some code into separate functions.