Commit edec3094 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: coding style

parent a766aa05
......@@ -81,7 +81,7 @@ int main(int argc, char **argv)
about.processCommandLine(cmdArgs);
#ifdef WITH_KUSERFEEDBACK
if(cmdArgs->isSet(QStringLiteral("feedback"))) {
if (cmdArgs->isSet(QStringLiteral("feedback"))) {
KAddressBookUserFeedbackProvider *userFeedBack = new KAddressBookUserFeedbackProvider(nullptr);
QTextStream(stdout) << userFeedBack->describeDataSources() << '\n';
delete userFeedBack;
......
......@@ -39,7 +39,6 @@ GrantleePrintStyle::GrantleePrintStyle(const QString &themePath, PrintingWizard
: PrintStyle(parent)
, m_themePath(themePath)
{
QFile previewFile(QString(themePath + QStringLiteral("/preview.png")));
if (previewFile.exists()) {
setPreview(previewFile.fileName());
......
......@@ -34,8 +34,7 @@
#include <KLocalizedString>
// helper method to sort contact fields by field label
static bool contactFieldsNameLesser(KAddressBookImportExport::KAddressBookImportExportContactFields::Field field,
KAddressBookImportExport::KAddressBookImportExportContactFields::Field otherField)
static bool contactFieldsNameLesser(KAddressBookImportExport::KAddressBookImportExportContactFields::Field field, KAddressBookImportExport::KAddressBookImportExportContactFields::Field otherField)
{
return QString::localeAwareCompare(KAddressBookImportExport::KAddressBookImportExportContactFields::label(field),
KAddressBookImportExport::KAddressBookImportExportContactFields::label(otherField)) < 0;
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#include "kaddressbookuserfeedbackprovider.h"
#include <KUserFeedback/ApplicationVersionSource>
#include <KUserFeedback/PlatformInfoSource>
......@@ -50,5 +49,4 @@ KAddressBookUserFeedbackProvider::KAddressBookUserFeedbackProvider(QObject *pare
KAddressBookUserFeedbackProvider::~KAddressBookUserFeedbackProvider()
{
}
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef KADDRESSBOOKUSERFEEDBACKPROVIDER_H
#define KADDRESSBOOKUSERFEEDBACKPROVIDER_H
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef USERFEEDBACKMANAGER_H
#define USERFEEDBACKMANAGER_H
......
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