| 250 | } |
| 251 | |
| 252 | void MessageHandlerWidget::exportModLogConfig() |
| 253 | { |
| 254 | QByteArray config; |
| 255 | auto model = ui->categoriesView->model(); |
| 256 | model->metaObject()->invokeMethod(model, "exportLoggingConfig", Q_RETURN_ARG(QByteArray, config), Q_ARG(bool, false), Q_ARG(bool, false)); |
| 257 | QString env = QLatin1String("QT_LOGGING_RULES='") + QString::fromLatin1(config) + QLatin1Char('\''); |
| 258 | QGuiApplication::clipboard()->setText(env); |
| 259 | } |
nothing calls this directly
no test coverage detected