mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-12 17:27:43 +00:00
Fix Folio trash D-Bus call
Restore the /trash object path in emptyTrash(). The current argument list is malformed and breaks the Folio plugin build.
This commit is contained in:
parent
ca557f1c2b
commit
6ee9cb62a3
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ void HomeScreen::removeLastVirtualDesktop() const
|
||||||
void HomeScreen::emptyTrash() const
|
void HomeScreen::emptyTrash() const
|
||||||
{
|
{
|
||||||
QDBusMessage message = QDBusMessage::createMethodCall(QStringLiteral("org.kde.kio.trash"),
|
QDBusMessage message = QDBusMessage::createMethodCall(QStringLiteral("org.kde.kio.trash"),
|
||||||
acceptedButtons : Qt.LeftButton | Qt.RightButton QStringLiteral("/trash"),
|
QStringLiteral("/trash"),
|
||||||
QStringLiteral("org.kde.KIO.Trash"),
|
QStringLiteral("org.kde.KIO.Trash"),
|
||||||
QStringLiteral("emptyTrash"));
|
QStringLiteral("emptyTrash"));
|
||||||
QDBusConnection::sessionBus().send(message);
|
QDBusConnection::sessionBus().send(message);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue