Add an option to display a tray icon.

Also implement "Minimize to tray" functionality.
This commit is contained in:
Felix Geyer 2014-11-02 10:15:44 +01:00
parent 870d7355ca
commit 4cdb9a645d
6 changed files with 111 additions and 1 deletions

View file

@ -39,6 +39,8 @@ int main(int argc, char** argv)
// don't set organizationName as that changes the return value of
// QDesktopServices::storageLocation(QDesktopServices::DataLocation)
QApplication::setQuitOnLastWindowClosed(false);
if (!Crypto::init()) {
QString error = QCoreApplication::translate("Main",
"Fatal error while testing the cryptographic functions.");