Gui: use QStringLiteral 2

This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-14 12:28:23 +01:00
parent 5f86a65a5e
commit eeca005a95
3 changed files with 11 additions and 11 deletions

View File

@@ -1493,7 +1493,7 @@ void MainWindow::processMessages(const QList<QString> & msg)
try {
WaitCursor wc;
std::list<std::string> files;
QString action = QString::fromStdString("OpenFile:");
QString action = QStringLiteral("OpenFile:");
for (const auto & it : msg) {
if (it.startsWith(action))
files.emplace_back(it.mid(action.size()).toStdString());