1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

[GreaseMonkey] Fix coding style

This commit is contained in:
David Rosca 2014-05-02 13:38:54 +02:00
parent 7fc7558221
commit 5f8ac0b70a

View File

@ -60,7 +60,7 @@ void GM_Downloader::scriptDownloaded()
const QByteArray response = QString::fromUtf8(m_reply->readAll()).toUtf8(); const QByteArray response = QString::fromUtf8(m_reply->readAll()).toUtf8();
if (response.contains(QByteArray("// ==UserScript=="))) { if (response.contains(QByteArray("// ==UserScript=="))) {
const QString filePath = QString("%1/%2").arg(m_manager->scriptsDirectory(),QzTools::getFileNameFromUrl(m_reply->url())); const QString filePath = QString("%1/%2").arg(m_manager->scriptsDirectory(), QzTools::getFileNameFromUrl(m_reply->url()));
m_fileName = QzTools::ensureUniqueFilename(filePath); m_fileName = QzTools::ensureUniqueFilename(filePath);
QFile file(m_fileName); QFile file(m_fileName);