136 def main(): |
136 def main(): |
137 """ |
137 """ |
138 Main entry point into the application. |
138 Main entry point into the application. |
139 """ |
139 """ |
140 global app |
140 global app |
|
141 |
|
142 from PyQt5.QtGui import QGuiApplication |
|
143 QGuiApplication.setDesktopFileName("eric6_browser.desktop") |
141 |
144 |
142 options = [ |
145 options = [ |
143 ("--config=configDir", |
146 ("--config=configDir", |
144 "use the given directory as the one containing the config files"), |
147 "use the given directory as the one containing the config files"), |
145 ("--private", "start the browser in private browsing mode"), |
148 ("--private", "start the browser in private browsing mode"), |