Commit 003c3a2b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 1c5928d2
...@@ -99,7 +99,7 @@ void ManageShowCollectionProperties::slotCollectionPropertiesFinished(KJob *job) ...@@ -99,7 +99,7 @@ void ManageShowCollectionProperties::slotCollectionPropertiesFinished(KJob *job)
return; return;
} }
const Akonadi::Collection collection = fetch->collections().first(); const Akonadi::Collection collection = fetch->collections().constFirst();
QPointer<Akonadi::CollectionPropertiesDialog> dlg = new Akonadi::CollectionPropertiesDialog(collection, mPages, mMainWidget); QPointer<Akonadi::CollectionPropertiesDialog> dlg = new Akonadi::CollectionPropertiesDialog(collection, mPages, mMainWidget);
dlg->setWindowTitle(i18nc("@title:window", "Properties of Address Book Folder %1", collection.name())); dlg->setWindowTitle(i18nc("@title:window", "Properties of Address Book Folder %1", collection.name()));
......
...@@ -58,7 +58,7 @@ struct ColorSettings { ...@@ -58,7 +58,7 @@ struct ColorSettings {
QString contactsToHtml(const KContacts::Addressee::List &contacts, const ColorSettings &settings) QString contactsToHtml(const KContacts::Addressee::List &contacts, const ColorSettings &settings)
{ {
QString content = QLatin1String("<html>\n"); QString content = QStringLiteral("<html>\n");
content += QLatin1String(" <head>\n"); content += QLatin1String(" <head>\n");
content += QLatin1String(" <style type=\"text/css\">\n"); content += QLatin1String(" <style type=\"text/css\">\n");
content += QLatin1String(" td.indented {\n"); content += QLatin1String(" td.indented {\n");
......
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