blob: 0749fe80802e465a54655491fe88184e7396646e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
From 35edb67258747a4704bad0288d9d02d3486493d8 Mon Sep 17 00:00:00 2001
From: aneo78 <aneo78@yandex.ru>
Date: Fri, 11 Aug 2017 23:29:33 +0700
Subject: [PATCH] fix issue 363: eiskaltdcpp-qt don't close in Qt5
---
eiskaltdcpp-qt/src/MainWindow.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eiskaltdcpp-qt/src/MainWindow.cpp b/eiskaltdcpp-qt/src/MainWindow.cpp
index a80c5e9c0..e8b49e4b6 100644
--- a/eiskaltdcpp-qt/src/MainWindow.cpp
+++ b/eiskaltdcpp-qt/src/MainWindow.cpp
@@ -390,6 +390,9 @@ void MainWindow::closeEvent(QCloseEvent *c_e){
if (ConnectionManager::getInstance())
ConnectionManager::getInstance()->disconnect();
+ if (Notification::getInstance())
+ Notify->enableTray(false);
+
d->arena->hide();
d->arena->setWidget(NULL);
|