Commit 2a685d9a authored by Aaron J. Seigo's avatar Aaron J. Seigo
Browse files

don't register the icon as a dragable with the applet

this causes events to be intercepted which prevent launching when
the applet is movable.

BUG:310762
parent c7bf21e2
......@@ -51,14 +51,13 @@
IconApplet::IconApplet(QObject *parent, const QVariantList &args)
: Plasma::Applet(parent, args),
m_icon(0),
m_icon(new Plasma::IconWidget(this)),
m_watcher(0),
m_hasDesktopFile(false)
{
setAcceptDrops(true);
setBackgroundHints(NoBackground);
setHasConfigurationInterface(true);
m_icon = new Plasma::IconWidget(this);
if (!args.isEmpty()) {
setUrl(args.value(0).toString());
......@@ -87,7 +86,6 @@ void IconApplet::init()
}
setDisplayLines(2);
registerAsDragHandle(m_icon);
setAspectRatioMode(Plasma::ConstrainedSquare);
connect(KGlobalSettings::self(), SIGNAL(iconChanged(int)),
......
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