|
|
@ -286,9 +286,11 @@ GUI::~GUI() { |
|
|
|
void GUI::displayRSSTab(bool enable) { |
|
|
|
void GUI::displayRSSTab(bool enable) { |
|
|
|
if(enable) { |
|
|
|
if(enable) { |
|
|
|
// RSS tab
|
|
|
|
// RSS tab
|
|
|
|
|
|
|
|
if(rssWidget == 0) { |
|
|
|
rssWidget = new RSSImp(); |
|
|
|
rssWidget = new RSSImp(); |
|
|
|
tabs->addTab(rssWidget, tr("RSS")); |
|
|
|
tabs->addTab(rssWidget, tr("RSS")); |
|
|
|
tabs->setTabIcon(3, QIcon(QString::fromUtf8(":/Icons/rss32.png"))); |
|
|
|
tabs->setTabIcon(3, QIcon(QString::fromUtf8(":/Icons/rss32.png"))); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if(rssWidget != 0) { |
|
|
|
if(rssWidget != 0) { |
|
|
|
delete rssWidget; |
|
|
|
delete rssWidget; |
|
|
|