[Pkg-privacy-commits] [torbrowser-launcher] 25/39: Must retain a reference to the QMainWindow, or Qt never shows it

Roger Shimizu rosh at debian.org
Tue Mar 27 15:41:53 UTC 2018


This is an automated email from the git hooks/post-receive script.

rosh pushed a commit to branch rosh/experimental
in repository torbrowser-launcher.

commit b8453e35e59cb1332291196b647faf4eb6c97995
Author: Micah Lee <micah at micahflee.com>
Date:   Fri Mar 23 14:43:08 2018 -0700

    Must retain a reference to the QMainWindow, or Qt never shows it
---
 torbrowser_launcher/__init__.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/torbrowser_launcher/__init__.py b/torbrowser_launcher/__init__.py
index d6ca5d6..08bf381 100644
--- a/torbrowser_launcher/__init__.py
+++ b/torbrowser_launcher/__init__.py
@@ -70,13 +70,14 @@ def main():
     common = Common(tor_browser_launcher_version)
     app = Application()
 
+    # Open the GUI
+    gui = None
     if settings:
         # Settings mode
-        Settings(common, app)
-
+        gui = Settings(common, app)
     else:
         # Launcher mode
-        Launcher(common, app, url_list)
+        gui = Launcher(common, app, url_list)
 
     # Allow ctrl-c to work
     signal.signal(signal.SIGINT, signal.SIG_DFL)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git



More information about the Pkg-privacy-commits mailing list