[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/base/konq-plugins/akregator
From: Teemu Rytilahti <tpr () d5k ! net>
Date: 2008-02-29 22:59:15
Message-ID: 1204325955.056623.19249.nullmailer () svn ! kde ! org
[Download RAW message or body]
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()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic