projects
/
seafile-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c5c843
)
Accept close event instead of ignoring it
author
Bartosz Sławianowski
<eplightning@outlook.com>
Sun, 8 Oct 2017 15:55:03 +0000
(17:55 +0200)
committer
Moritz Schlarb
<schlarbm@uni-mainz.de>
Thu, 10 Jan 2019 11:16:40 +0000
(11:16 +0000)
Gbp-Pq: Name 0005-Accept-close-event-instead-of-ignoring-it.patch
src/ui/main-window.cpp
patch
|
blob
|
history
diff --git
a/src/ui/main-window.cpp
b/src/ui/main-window.cpp
index 3ac89f835dcacf101d8ad5c1a0c0eda7da4a538b..c214f70725c4799ddd1764cdbf56c36ae8fc58af 100644
(file)
--- a/
src/ui/main-window.cpp
+++ b/
src/ui/main-window.cpp
@@
-113,7
+113,7
@@
void MainWindow::hide()
void MainWindow::closeEvent(QCloseEvent *event)
{
- event->
ignore
();
+ event->
accept
();
hide();
}