From ff3160d5bf6df58ac94c48d1ea79b408cff20461 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Mon, 27 Oct 2008 19:20:39 +0000 Subject: [PATCH] Converted the main application file from wx to Qt. bzr-revno: 41 --- openlp.pyw | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/openlp.pyw b/openlp.pyw index 9c9692d42..b461b7ba7 100755 --- a/openlp.pyw +++ b/openlp.pyw @@ -19,13 +19,10 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ -class OpenLP(object): - def __init__(self): - pass +class OpenLP(QtGui.QApplication): + pass - def run(self): - pass if __name__ == '__main__': - app = OpenLP() - app.run() + app = OpenLP(sys.argv) + sys.exit(app.exec_())