From 50c0c42403605e149692fee2b9997ddd99e1e119 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Wed, 29 Jun 2011 08:54:39 +0200 Subject: [PATCH] Remove main function --- sloth/gui/propertyeditor.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/sloth/gui/propertyeditor.py b/sloth/gui/propertyeditor.py index be8c754..1fd7549 100644 --- a/sloth/gui/propertyeditor.py +++ b/sloth/gui/propertyeditor.py @@ -361,17 +361,3 @@ class PropertyEditor(QWidget): self._layout.addWidget(self._classbox, 0) self._layout.addStretch(1) -def main(): - from sloth.conf import config - config.update("/home/mfischer/videmo_config_new_simple") - - app = QApplication(sys.argv) - ba = PropertyEditor(config.LABELS) - ba.show() - - return app.exec_() - -if __name__ == '__main__': - sys.exit(main()) - -