mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[GreaseMonkey, AdBlock] Use 16x16 icons in statusbar
This commit is contained in:
parent
48528b36bf
commit
58c0c77479
|
@ -37,7 +37,6 @@ AdBlockIcon::AdBlockIcon(QupZilla* mainClass, QWidget* parent)
|
|||
, m_timerTicks(0)
|
||||
, m_enabled(false)
|
||||
{
|
||||
setMaximumHeight(16);
|
||||
setCursor(Qt::PointingHandCursor);
|
||||
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 |
BIN
src/plugins/GreaseMonkey/data/icon16.png
Normal file
BIN
src/plugins/GreaseMonkey/data/icon16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 994 B |
|
@ -25,7 +25,7 @@ GM_Icon::GM_Icon(GM_Manager* manager, QupZilla* window)
|
|||
, m_window(window)
|
||||
{
|
||||
setCursor(Qt::PointingHandCursor);
|
||||
setPixmap(QPixmap(":gm/data/icon18.png"));
|
||||
setPixmap(QPixmap(":gm/data/icon16.png"));
|
||||
setToolTip(tr("Open GreaseMonkey settings"));
|
||||
|
||||
connect(this, SIGNAL(clicked(QPoint)), this, SLOT(openSettings()));
|
||||
|
|
|
@ -271,7 +271,6 @@ bool GM_Manager::canRunOnScheme(const QString &scheme)
|
|||
|| scheme == QLatin1String("data") || scheme == QLatin1String("ftp"));
|
||||
}
|
||||
|
||||
|
||||
void GM_Manager::mainWindowCreated(QupZilla* window)
|
||||
{
|
||||
GM_Icon* icon = new GM_Icon(this, window);
|
||||
|
|
|
@ -19,5 +19,6 @@
|
|||
<file>locale/uk_UA.qm</file>
|
||||
<file>locale/fa_IR.qm</file>
|
||||
<file>data/icon18.png</file>
|
||||
<file>data/icon16.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in New Issue
Block a user