1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Fix icon name in SBI images icon + add object name to AdBlockIcon

This commit is contained in:
Jacob Tey 2017-09-20 12:55:54 +03:00 committed by David Rosca
parent c75324f379
commit 11d73bd26a
2 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ AdBlockIcon::AdBlockIcon(BrowserWindow* window, QWidget* parent)
, m_timerTicks(0)
, m_enabled(false)
{
setObjectName(QSL("adblockicon"));
setCursor(Qt::PointingHandCursor);
setToolTip(tr("AdBlock lets you block unwanted content on web pages"));
setFixedSize(16, 16);

View File

@ -32,7 +32,7 @@ SBI_ImagesIcon::SBI_ImagesIcon(BrowserWindow* window, const QString &settingsPat
setCursor(Qt::PointingHandCursor);
setToolTip(tr("Modify images loading settings per-site and globally"));
m_icon = QIcon::fromTheme("image-x-generics", QIcon(":sbi/data/images.png"));
m_icon = QIcon::fromTheme("image-x-generic", QIcon(":sbi/data/images.png"));
setPixmap(m_icon.pixmap(16));
QSettings settings(m_settingsFile, QSettings::IniFormat);