eric6_webbrowser.py

branch
maintenance
changeset 6826
c6dda2cbe081
parent 6702
793af5761910
equal deleted inserted replaced
6764:d14ddbfbbd36 6826:c6dda2cbe081
78 78
79 from Toolbox import Startup 79 from Toolbox import Startup
80 80
81 from Helpviewer.HelpSingleApplication import HelpSingleApplicationClient 81 from Helpviewer.HelpSingleApplication import HelpSingleApplicationClient
82 82
83 app = None
84
83 85
84 def createMainWidget(argv): 86 def createMainWidget(argv):
85 """ 87 """
86 Function to create the main widget. 88 Function to create the main widget.
87 89
132 134
133 def main(): 135 def main():
134 """ 136 """
135 Main entry point into the application. 137 Main entry point into the application.
136 """ 138 """
139 global app
140
137 options = [ 141 options = [
138 ("--config=configDir", 142 ("--config=configDir",
139 "use the given directory as the one containing the config files"), 143 "use the given directory as the one containing the config files"),
140 ("--qthelp", "start the browser with support for QtHelp"), 144 ("--qthelp", "start the browser with support for QtHelp"),
141 ("--quiet", "don't show any startup error messages"), 145 ("--quiet", "don't show any startup error messages"),

eric ide

mercurial