mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
GIT_SILENT format changed lines
This commit is contained in:
parent
0681dccfcc
commit
aba225af72
|
@ -177,7 +177,11 @@ void MainMenu::savePageAs()
|
|||
|
||||
void MainMenu::sendLink()
|
||||
{
|
||||
const QUrl mailUrl = QUrl::fromEncoded(QByteArray("mailto:%20?body=" + QUrl::toPercentEncoding(QString::fromUtf8(m_window->weView()->url().toEncoded())) + "&subject=" + QUrl::toPercentEncoding(m_window->weView()->title())));
|
||||
const QUrl mailUrl = QUrl::fromEncoded(QByteArray(
|
||||
"mailto:%20?body=" +
|
||||
QUrl::toPercentEncoding(
|
||||
QString::fromUtf8(m_window->weView()->url().toEncoded())) +
|
||||
"&subject=" + QUrl::toPercentEncoding(m_window->weView()->title())));
|
||||
QDesktopServices::openUrl(mailUrl);
|
||||
}
|
||||
|
||||
|
|
|
@ -157,5 +157,8 @@ void Updater::downCompleted()
|
|||
|
||||
void Updater::downloadNewVersion()
|
||||
{
|
||||
m_window->tabWidget()->addView(QUrl::fromEncoded(QByteArray(QByteArray(Qz::WWWADDRESS) + QByteArray("/download"))), tr("Update"), Qz::NT_NotSelectedTab);
|
||||
m_window->tabWidget()->addView(
|
||||
QUrl::fromEncoded(
|
||||
QByteArray(QByteArray(Qz::WWWADDRESS) + QByteArray("/download"))),
|
||||
tr("Update"), Qz::NT_NotSelectedTab);
|
||||
}
|
||||
|
|
|
@ -475,14 +475,19 @@ void WebView::openUrlInNewWindow()
|
|||
void WebView::sendTextByMail()
|
||||
{
|
||||
if (auto* action = qobject_cast<QAction*>(sender())) {
|
||||
const QUrl mailUrl = QUrl::fromEncoded(QByteArray("mailto:%20?body=" + QUrl::toPercentEncoding(action->data().toString())));
|
||||
const QUrl mailUrl = QUrl::fromEncoded(
|
||||
QByteArray("mailto:%20?body=" +
|
||||
QUrl::toPercentEncoding(action->data().toString())));
|
||||
QDesktopServices::openUrl(mailUrl);
|
||||
}
|
||||
}
|
||||
|
||||
void WebView::sendPageByMail()
|
||||
{
|
||||
const QUrl mailUrl = QUrl::fromEncoded(QByteArray("mailto:%20?body=" + QUrl::toPercentEncoding(QString::fromUtf8(url().toEncoded())) + "&subject=" + QUrl::toPercentEncoding(title())));
|
||||
const QUrl mailUrl = QUrl::fromEncoded(QByteArray(
|
||||
"mailto:%20?body=" +
|
||||
QUrl::toPercentEncoding(QString::fromUtf8(url().toEncoded())) +
|
||||
"&subject=" + QUrl::toPercentEncoding(title())));
|
||||
QDesktopServices::openUrl(mailUrl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user