I prefer the self.import_wizard.exec_() == QtGui.QDialog.Accepted. 
It makes no assumptions as to the true/falseness of the QDialog constants and 
is also quite descriptive as to what .exec_() is returning and what the code is 
checking.

-- 
https://code.launchpad.net/~meths/openlp/trivialfixes/+merge/47053
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to