bitcoin/bitcoin — pull request #691 by runeksvendsen (2011-12-09 19:30:23+00:00)
Title: Temporarily disable "minimize to tray" in the startup phase if the "-min" option is specified

If the "minimize to tray"-option is in effect, and the Qt GUI is started with the "-min" option, the main window will not be recoverable from the tray icon by double clicking it. This is only the case if the main window is minimized to the tray in the start-up phase (by running window.showMinimized() in qt/bitcoin.cpp:main()). After the main window has been shown for the first time (in a minimized state), minimizing to the tray works again.
This relates to pull request #679.