mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-07 01:23:58 +00:00
Fix D-Bus activation name
Originally the App uses org.dharkael.Flameshot in D-Bus. Since we have moved the project under organization, the name we are using now should be org.flameshot.Flameshot. This need to be kept unified across the whole project. This fixes D-Bus invocation problem and should fixes: #850 .
This commit is contained in:
committed by
borgmanJeremy
parent
308be25c51
commit
18f18ce7ef
@@ -30,14 +30,14 @@ DBusUtils::connectPrintCapture(QDBusConnection& session, uint id)
|
||||
{
|
||||
m_id = id;
|
||||
// captureTaken
|
||||
session.connect(QStringLiteral("org.dharkael.Flameshot"),
|
||||
session.connect(QStringLiteral("org.flameshot.Flameshot"),
|
||||
QStringLiteral("/"),
|
||||
QLatin1String(""),
|
||||
QStringLiteral("captureTaken"),
|
||||
this,
|
||||
SLOT(captureTaken(uint, QByteArray)));
|
||||
// captureFailed
|
||||
session.connect(QStringLiteral("org.dharkael.Flameshot"),
|
||||
session.connect(QStringLiteral("org.flameshot.Flameshot"),
|
||||
QStringLiteral("/"),
|
||||
QLatin1String(""),
|
||||
QStringLiteral("captureFailed"),
|
||||
|
||||
Reference in New Issue
Block a user