Merge lp:~raoul-snyman/openlp/bugfixes into lp:openlp

Proposed by Raoul Snyman
Status: Merged
Merged at revision: not available
Proposed branch: lp:~raoul-snyman/openlp/bugfixes
Merge into: lp:openlp
Diff against target: None lines
To merge this branch: bzr merge lp:~raoul-snyman/openlp/bugfixes
Reviewer Review Type Date Requested Status
Jon Tibble (community) Approve
Review via email: mp+12139@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Just changed the resource import slightly. Now it only imports the init function and runs that at a specific time. For Michael Gorven.

Revision history for this message
Jon Tibble (meths) :
review: Approve
lp:~raoul-snyman/openlp/bugfixes updated
560. By Raoul Snyman

Merged in lp:~raoul-snyman/openlp/bugfixes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'openlp.pyw'
--- openlp.pyw 2009-09-12 21:31:35 +0000
+++ openlp.pyw 2009-09-20 15:45:33 +0000
@@ -30,7 +30,7 @@
30from PyQt4 import QtCore, QtGui30from PyQt4 import QtCore, QtGui
3131
32from openlp.core.lib import Receiver, str_to_bool32from openlp.core.lib import Receiver, str_to_bool
33from openlp.core.resources import *33from openlp.core.resources import qInitResources
34from openlp.core.ui import MainWindow, SplashScreen34from openlp.core.ui import MainWindow, SplashScreen
35from openlp.core.utils import ConfigHelper35from openlp.core.utils import ConfigHelper
3636
@@ -105,6 +105,8 @@
105 log.setLevel(logging.DEBUG)105 log.setLevel(logging.DEBUG)
106 else:106 else:
107 log.setLevel(logging.INFO)107 log.setLevel(logging.INFO)
108 # Initialise the resources
109 qInitResources()
108 # Now create and actually run the application.110 # Now create and actually run the application.
109 app = OpenLP(sys.argv)111 app = OpenLP(sys.argv)
110 sys.exit(app.run())112 sys.exit(app.run())
@@ -113,6 +115,4 @@
113 """115 """
114 Instantiate and run the application.116 Instantiate and run the application.
115 """117 """
116 #import cProfile
117 #cProfile.run("main()", "profile.out")
118 main()118 main()
119119
=== modified file 'openlp/core/ui/settingsform.py'
--- openlp/core/ui/settingsform.py 2009-09-08 19:58:05 +0000
+++ openlp/core/ui/settingsform.py 2009-09-20 15:45:33 +0000
@@ -27,7 +27,6 @@
27from PyQt4 import QtCore, QtGui27from PyQt4 import QtCore, QtGui
2828
29from openlp.core.lib import SettingsTab29from openlp.core.lib import SettingsTab
30from openlp.core.resources import *
31from openlp.core.ui import GeneralTab, ThemesTab, AlertsTab30from openlp.core.ui import GeneralTab, ThemesTab, AlertsTab
32from settingsdialog import Ui_SettingsDialog31from settingsdialog import Ui_SettingsDialog
3332