diff MainWindow.py @ 49:6eba4168fd54

move the logic to add a feed into AddFeed
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 17 May 2010 03:52:13 +0200
parents 6e5219e05625
children 4b0d686493fb
line wrap: on
line diff
--- a/MainWindow.py	Sun May 16 08:26:46 2010 +0200
+++ b/MainWindow.py	Mon May 17 03:52:13 2010 +0200
@@ -9,7 +9,6 @@
 from PyQt4.QtCore import QUrl
 from PyQt4.QtGui import QFont
 from Ui_MainWindow import Ui_MainWindow
-import FeedUpdater
 import subprocess
 
 class MainWindow(QtGui.QMainWindow):
@@ -68,9 +67,6 @@
         addFeed = AddFeed(self.session)
         success = addFeed.exec_()
         if success:
-            url = addFeed.getUrl()
-            FeedUpdater.createNewFeed(url, self.session)
-            # TODO get status from feedUpdater and display in status area of the main window
             self.updateFeedList()
 
     def openSelectedEntryInBrowser(self):