svn path=/trunk/KDE/kdelibs/; revision=903301
This commit is contained in:
parent
d50b126504
commit
168ae12dc5
@ -291,6 +291,7 @@ void IconWidget::init()
|
||||
{
|
||||
readColors();
|
||||
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), SLOT(readColors()));
|
||||
connect(KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()), SLOT(readColors()));
|
||||
|
||||
// setAcceptedMouseButtons(Qt::LeftButton);
|
||||
setAcceptsHoverEvents(true);
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <QDir>
|
||||
|
||||
#include <kmimetype.h>
|
||||
#include <kglobalsettings.h>
|
||||
|
||||
#include "theme.h"
|
||||
#include "svg.h"
|
||||
@ -91,6 +92,8 @@ Label::Label(QGraphicsWidget *parent)
|
||||
connect(native, SIGNAL(linkActivated(QString)), this, SIGNAL(linkActivated(QString)));
|
||||
|
||||
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
|
||||
connect(KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()), this, SLOT(setPalette()));
|
||||
|
||||
native->setAttribute(Qt::WA_NoSystemBackground);
|
||||
native->setWordWrap(true);
|
||||
setWidget(native);
|
||||
|
Loading…
Reference in New Issue
Block a user