[X2Go-Commits] [x2goclient] 02/02: Use app.setQuitOnLastWindowClosed(false) for the X2Go Client QtApplication to assure that X2Go Client does not arbitrarily exit during a running session. This fixes X2Go Client crashes that occur when printing via the CUPS-X2Go printing mechanism with activate print dialog popup on incoming print jobs and minimized main window. (Fixes: #702).
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 7 10:32:10 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 3008b2a10fde108810650849522f4d2e76c3b300
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Jan 7 10:31:55 2015 +0100
Use app.setQuitOnLastWindowClosed(false) for the X2Go Client QtApplication to assure that X2Go Client does not arbitrarily exit during a running session. This fixes X2Go Client crashes that occur when printing via the CUPS-X2Go printing mechanism with activate print dialog popup on incoming print jobs and minimized main window. (Fixes: #702).
---
debian/changelog | 5 +++++
ongetpass.cpp | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index a754d04..ae08442 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,11 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium
* New upstream release (4.0.3.2):
- Provide empty Turkish translation file.
- Add several info/error/debug log message while hunting down #702.
+ - Use app.setQuitOnLastWindowClosed(false) for the X2Go Client QtApplication
+ to assure that X2Go Client does not arbitrarily exit during a running
+ session. This fixes X2Go Client crashes that occur when printing via
+ the CUPS-X2Go printing mechanism with activate print dialog popup on
+ incoming print jobs and minimized main window. (Fixes: #702).
[ Jason Alavaliant ]
* New upstream verson (4.0.3.2):
diff --git a/ongetpass.cpp b/ongetpass.cpp
index e88cbe5..0a9401b 100644
--- a/ongetpass.cpp
+++ b/ongetpass.cpp
@@ -103,7 +103,11 @@ int x2goMain ( int argc, char *argv[] )
{
ONMainWindow* mw = new ONMainWindow;
mw->show();
- return app.exec();
+ int retval;
+ app.setQuitOnLastWindowClosed(false);
+ retval = app.exec();
+ delete mw;
+ return retval;
}
#endif
return 0;
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list