SVN commit 780771 by rytilahti: - Replace 0L with 0. - Use mimetype icon for rss+xml instead of our old own icon. Remove the old icon from the repository.. M +5 -5 konqfeedicon.cpp D rss.png D rss.svgz --- trunk/extragear/base/konq-plugins/akregator/konqfeedicon.cpp #780770:780771 @@ -76,9 +76,9 @@ delete m_feedIcon; } // the icon is deleted in every case - m_feedIcon = 0L; + m_feedIcon = 0; delete m_menu; - m_menu = 0L; + m_menu = 0; } bool KonqFeedIcon::feedFound() @@ -149,8 +149,8 @@ m_feedIcon->setFixedHeight(KIconLoader::global()->currentSize(KIconLoader::Small)); m_feedIcon->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed)); m_feedIcon->setUseCursor(false); - //FIXME hackish - m_feedIcon->setPixmap(QPixmap(KStandardDirs::locate("data", "akregator/pics/rss.png"))); + + m_feedIcon->setPixmap(KIconLoader::global()->loadMimeTypeIcon("application-rss+xml", KIconLoader::Small)); m_feedIcon->setToolTip( i18n("Subscribe to site updates (using news feed)")); @@ -171,7 +171,7 @@ // Close the popup if it's open, otherwise we crash delete m_menu; - m_menu = 0L; + m_menu = 0; } void KonqFeedIcon::addFeed()