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

[GreaseMonkey, AdBlock] Use 16x16 icons in statusbar

This commit is contained in:
nowrep 2013-06-03 15:50:57 +02:00
parent 48528b36bf
commit 58c0c77479
7 changed files with 2 additions and 3 deletions

View File

@ -37,7 +37,6 @@ AdBlockIcon::AdBlockIcon(QupZilla* mainClass, QWidget* parent)
, m_timerTicks(0) , m_timerTicks(0)
, m_enabled(false) , m_enabled(false)
{ {
setMaximumHeight(16);
setCursor(Qt::PointingHandCursor); setCursor(Qt::PointingHandCursor);
setToolTip(tr("AdBlock lets you block unwanted content on web pages")); setToolTip(tr("AdBlock lets you block unwanted content on web pages"));

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 994 B

View File

@ -25,7 +25,7 @@ GM_Icon::GM_Icon(GM_Manager* manager, QupZilla* window)
, m_window(window) , m_window(window)
{ {
setCursor(Qt::PointingHandCursor); setCursor(Qt::PointingHandCursor);
setPixmap(QPixmap(":gm/data/icon18.png")); setPixmap(QPixmap(":gm/data/icon16.png"));
setToolTip(tr("Open GreaseMonkey settings")); setToolTip(tr("Open GreaseMonkey settings"));
connect(this, SIGNAL(clicked(QPoint)), this, SLOT(openSettings())); connect(this, SIGNAL(clicked(QPoint)), this, SLOT(openSettings()));

View File

@ -271,7 +271,6 @@ bool GM_Manager::canRunOnScheme(const QString &scheme)
|| scheme == QLatin1String("data") || scheme == QLatin1String("ftp")); || scheme == QLatin1String("data") || scheme == QLatin1String("ftp"));
} }
void GM_Manager::mainWindowCreated(QupZilla* window) void GM_Manager::mainWindowCreated(QupZilla* window)
{ {
GM_Icon* icon = new GM_Icon(this, window); GM_Icon* icon = new GM_Icon(this, window);

View File

@ -19,5 +19,6 @@
<file>locale/uk_UA.qm</file> <file>locale/uk_UA.qm</file>
<file>locale/fa_IR.qm</file> <file>locale/fa_IR.qm</file>
<file>data/icon18.png</file> <file>data/icon18.png</file>
<file>data/icon16.png</file>
</qresource> </qresource>
</RCC> </RCC>