Commit cec24fdc authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Prevent clang-format uglification

parent c2edc020
......@@ -98,7 +98,7 @@ public:
void setEmbedServices(const QStringList &dsl);
enum AutoEmbed {
Yes = 0, No = 1, UseGroupSetting = 2
Yes = 0, No = 1, UseGroupSetting = 2,
};
AutoEmbed autoEmbed() const
{
......@@ -170,7 +170,7 @@ private:
QMimeType m_mimetype;
enum AskSave {
AskSaveYes = 0, AskSaveNo = 1, AskSaveDefault = 2
AskSaveYes = 0, AskSaveNo = 1, AskSaveDefault = 2,
};
AskSave m_askSave : 3;
AutoEmbed m_autoEmbed : 3;
......
......@@ -257,8 +257,9 @@ bool ClientApp::doList( const QStringList& urls )
job->setUiDelegate( nullptr );
job->setUiDelegateExtension( nullptr );
}
connect(job, SIGNAL(entries(KIO::Job*,KIO::UDSEntryList)),
SLOT(slotEntries(KIO::Job*,KIO::UDSEntryList)));
// clang-format off
connect(job, SIGNAL(entries(KIO::Job*,KIO::UDSEntryList)), SLOT(slotEntries(KIO::Job*,KIO::UDSEntryList)));
// clang-format on
connect(job, &KJob::result, this, &ClientApp::slotResult);
qApp->exec();
return m_ok;
......@@ -384,7 +385,9 @@ bool ClientApp::doIt(const QCommandLineParser& parser)
job->setUiDelegate( nullptr );
job->setUiDelegateExtension( nullptr );
}
connect( job, SIGNAL( result( KJob * ) ), qApp, SLOT( slotResult( KJob * ) ) );
// clang-format off
connect(job, SIGNAL(result(Job*)), qApp, SLOT(slotResult(Job*)));
// clang-format on
qApp->exec();
return m_ok;
}
......
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