Merge branch '2.0'

This commit is contained in:
Felix Geyer committed 2015-12-15 21:05:00 +01:00
commit ecfbf72a57
33 files changed
+9516 -347

No files matched your search

+2 -1
View File
@@ -447,7 +447,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
void MainWindow::changeEvent(QEvent* event)
{
if ((event->type() == QEvent::WindowStateChange) && isMinimized()
&& isTrayIconEnabled() && config()->get("GUI/MinimizeToTray").toBool())
&& isTrayIconEnabled() && m_trayIcon && m_trayIcon->isVisible()
&& config()->get("GUI/MinimizeToTray").toBool())
{
event->ignore();
QTimer::singleShot(0, this, SLOT(hide()));