Commit 4060384e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Port away from SmallIcon

parent 1eda90b3
......@@ -14,6 +14,7 @@
#include <klocalizedstring.h>
#include <qevent.h>
#include <qicon.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qimage.h>
......@@ -30,7 +31,7 @@ myPopup::myPopup(QWidget *parent, const QString &text, const QString &wikiLink,
{
wiki = new QLabel(this);
lay -> addWidget(wiki);
wiki -> setPixmap(SmallIcon( QStringLiteral("dialog-information") ));
wiki -> setPixmap(QIcon::fromTheme( QStringLiteral("dialog-information") ).pixmap(KIconLoader::SizeSmall));
wiki -> setToolTip(i18n("Wikipedia page"));
wiki -> setAlignment(Qt::AlignCenter);
wiki -> installEventFilter(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment