Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 8a6d5072 authored by Laurent Montel's avatar Laurent Montel 😁

Add signal when we don't use url string

parent 7ac10f9c
......@@ -105,12 +105,13 @@ void InsertShorturlPluginEditorInterface::exec()
mCurrentEngine->setTextCursor(textCursor);
mCurrentEngine->setShortUrl(urlStr);
mCurrentEngine->generateShortUrl();
} else {
Q_EMIT message(i18n("String doesn't seem to be a url"));
}
}
void InsertShorturlPluginEditorInterface::slotShortUrlDone(const QString &url)
{
//Insert new url
qCDebug(KMAIL_INSERTSHORTURL_LOG) << " new url " << url;
}
......
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