diff --git a/QtScrcpy/main.cpp b/QtScrcpy/main.cpp index 9af29c2..1fe6794 100644 --- a/QtScrcpy/main.cpp +++ b/QtScrcpy/main.cpp @@ -98,8 +98,12 @@ int main(int argc, char *argv[]) g_mainDlg->setWindowTitle(Config::getInstance().getTitle()); g_mainDlg->show(); - qInfo() << QObject::tr("This software is completely open source and free. Strictly used for illegal purposes, or at your own risk. You can download it at the " - "following address:").toUtf8(); + qInfo( + "%s", + QObject::tr("This software is completely open source and free. Strictly used for illegal purposes, or at your own risk. You can download it at the " + "following address:") + .toUtf8() + .data()); qInfo() << QString("QtScrcpy %1 ").arg(QCoreApplication::applicationVersion()).toUtf8(); int ret = a.exec();