From 6a029b2c2484e7753f8483ff822efccafe3cf176 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 9 Sep 2016 18:18:40 +0200 Subject: migration: prevent string printed with double-quotes in qDebug() --- migration/20160906_0-mappings.cpp | 2 +- migration/migration.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'migration') diff --git a/migration/20160906_0-mappings.cpp b/migration/20160906_0-mappings.cpp index 89c78a9d..060b9967 100644 --- a/migration/20160906_0-mappings.cpp +++ b/migration/20160906_0-mappings.cpp @@ -56,7 +56,7 @@ struct mappings_from_2_3_0_rc11 : migration } QString unique_date() const override { return "20160909_00"; } - QString name() const override { return "Migrate mappings to 2.3.0-rc12"; } + QString name() const override { return "mappings to 2.3.0-rc12"; } static Mappings get_new_mappings() { diff --git a/migration/migration.cpp b/migration/migration.cpp index ae0d98b0..a196d762 100644 --- a/migration/migration.cpp +++ b/migration/migration.cpp @@ -94,7 +94,10 @@ std::vector migrator::run() if (done.size()) { for (const QString& name : done) - qDebug() << "--" << name; + { + const QByteArray data = name.toUtf8(); + qDebug() << "migrate:" << data.constData(); + } } return done; -- cgit v1.2.3