diff options
Diffstat (limited to 'src/qmlcompiler/qqmljsloggingutils.cpp')
| -rw-r--r-- | src/qmlcompiler/qqmljsloggingutils.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qmlcompiler/qqmljsloggingutils.cpp b/src/qmlcompiler/qqmljsloggingutils.cpp index 8eecd08242..25ce2e4cbe 100644 --- a/src/qmlcompiler/qqmljsloggingutils.cpp +++ b/src/qmlcompiler/qqmljsloggingutils.cpp @@ -32,8 +32,9 @@ namespace QQmlJS { LoggerCategory::LoggerCategory() : d_ptr{ new LoggerCategoryPrivate } { } -LoggerCategory::LoggerCategory(QString name, QString settingsName, QString description, - QtMsgType level, bool ignored, bool isDefault) +LoggerCategory::LoggerCategory( + const QString &name, const QString &settingsName, const QString &description, QtMsgType level, + bool ignored, bool isDefault) : d_ptr{ new LoggerCategoryPrivate } { Q_D(LoggerCategory); |
