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