Commit 8f27f46c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify + warning--

parent 8007229a
Pipeline #59785 passed with stage
in 23 minutes and 14 seconds
......@@ -31,7 +31,7 @@ void KMMigrateApplication::migrate()
// Migrate folders and files.
if (mMigrator.checkIfNecessary()) {
mMigrator.start();
(void)mMigrator.start();
}
// Migrate global "Always encrypt" option to per-identity options
......
......@@ -35,8 +35,8 @@ static QString toolTip(const Akonadi::Item &item)
{
KMime::Message::Ptr msg = item.payload<KMime::Message::Ptr>();
QColor bckColor = QApplication::palette().color(QPalette::ToolTipBase);
QColor txtColor = QApplication::palette().color(QPalette::ToolTipText);
const QColor bckColor = QApplication::palette().color(QPalette::ToolTipBase);
const QColor txtColor = QApplication::palette().color(QPalette::ToolTipText);
const QString bckColorName = bckColor.name();
const QString txtColorName = txtColor.name();
......
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