Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Small refactoring. #378
I thinking over this question: What the MainWindow should know about the others instances? For example, should know if SystemTrayIsAvailable before instance TrayIcon? I think no. So i changed this appending a new bool member to check if TrayIcon isAllocated.
I purged check about something is NULL before delete. Delete itself does this check internally :)
About config checking i think that should be done before start MainWindow itself. In some way this should run once right?
@@ Coverage Diff @@ ## master #378 +/- ## ======================================== + Coverage 6.48% 6.5% +0.02% ======================================== Files 39 39 Lines 2591 2582 -9 Branches 341 337 -4 ======================================== Hits 168 168 + Misses 2417 2408 -9 Partials 6 6