Commit 68c9eb0c authored by Laurent Montel's avatar Laurent Montel 😁

Use correct boolean

parent 3055a933
......@@ -1168,7 +1168,7 @@ void KMKernel::action(bool mailto, bool check, bool startInTray, const QString &
const QString &inReplyTo, const QString &identity)
{
if (mailto) {
openComposer(to, cc, bcc, subj, body, 0,
openComposer(to, cc, bcc, subj, body, false,
messageFile.toLocalFile(), QUrl::toStringList(attachURLs),
customHeaders, replyTo, inReplyTo, identity);
} else {
......
......@@ -16,9 +16,9 @@ int main(int argc, char **argv)
parser.process(app);
OrgKdeKmailKmailInterface kmailInterface(QStringLiteral("org.kde.kmail"), QStringLiteral("/KMail"), QDBusConnection::sessionBus());
kmailInterface.openComposer(QStringLiteral("to 1"), QString(), QString(), QStringLiteral("First test"), QStringLiteral("simple openComp call"), 0);
kmailInterface.openComposer(QStringLiteral("to 1"), QString(), QString(), QStringLiteral("First test"), QStringLiteral("simple openComp call"), false);
QDBusReply<QDBusObjectPath> composerDbusPath = kmailInterface.openComposer(QStringLiteral("to 2"), QString(), QString(), QStringLiteral("Second test"), QStringLiteral("DBUS ref call"), 0);
QDBusReply<QDBusObjectPath> composerDbusPath = kmailInterface.openComposer(QStringLiteral("to 2"), QString(), QString(), QStringLiteral("Second test"), QStringLiteral("DBUS ref call"), false);
if (!composerDbusPath.isValid()) {
qDebug() << "We can't connect to kmail";
......
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