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?
…manual static_cast to int for Enums::ClipboardType
@@ 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