Hi,
I need help, I want to minimize program to tray, and everything is ok but when program is minimized and messagebox (or any dialog/popup) shows program is quiting with Exited normally (?!) Tested on qt 4.7 and 4.8.
So how and what I need to change in this code ? Or maybe there is better solution for minimizing program ? (I need example of course)
Code:
{ { if ((e->oldState() != Qt::WindowMinimized) && isMinimized()) { if (Core::instance()->settings["minimize_to_tray"] == "on") { event->ignore(); } } } }