Commit f8f27526 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Icon Applet] Rename open() to run() to fix compilation on 32-bit

BUG: 374966
parent 6f90f8cf
......@@ -327,7 +327,7 @@ QList<QAction *> IconApplet::contextualActions()
return actions;
}
void IconApplet::open()
void IconApplet::run()
{
new KRun(QUrl::fromLocalFile(m_localPath), QApplication::desktop());
}
......
......@@ -55,7 +55,7 @@ public:
QList<QAction *> contextualActions() override;
Q_INVOKABLE void open();
Q_INVOKABLE void run();
Q_INVOKABLE void processDrop(QObject *dropEvent);
Q_INVOKABLE void configure();
......
......@@ -43,14 +43,14 @@ MouseArea {
hoverEnabled: true
onClicked: plasmoid.nativeInterface.open()
onClicked: plasmoid.nativeInterface.run()
Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
Plasmoid.icon: plasmoid.nativeInterface.iconName
Plasmoid.title: plasmoid.nativeInterface.name
Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground
Plasmoid.onActivated: plasmoid.nativeInterface.open()
Plasmoid.onActivated: plasmoid.nativeInterface.run()
Plasmoid.onContextualActionsAboutToShow: updateActions()
......
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