fix(clang-tidy): modernize-raw-string-literal (#6274)
This commit is contained in:
@@ -438,7 +438,7 @@ void Window::addShortcuts()
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Invalid popup target. Use \"split\" or \"window\".";
|
||||
return R"(Invalid popup target. Use "split" or "window".)";
|
||||
}
|
||||
return "";
|
||||
}},
|
||||
|
||||
@@ -954,7 +954,7 @@ void GeneralPage::initLayout(GeneralPageView &layout)
|
||||
QString newPath = getApp()->getPaths().cacheDirectory();
|
||||
|
||||
QString pathShortened = "Cache saved at <a href=\"file:///" + newPath +
|
||||
"\"><span style=\"color: white;\">" +
|
||||
R"("><span style="color: white;">)" +
|
||||
shortenString(newPath, 50) + "</span></a>";
|
||||
cachePathLabel->setText(pathShortened);
|
||||
cachePathLabel->setToolTip(newPath);
|
||||
|
||||
@@ -91,7 +91,7 @@ ModerationPage::ModerationPage()
|
||||
|
||||
QString pathShortened =
|
||||
"Logs are saved at <a href=\"file:///" + pathOriginal +
|
||||
"\"><span style=\"color: white;\">" +
|
||||
R"("><span style="color: white;">)" +
|
||||
shortenString(pathOriginal, 50) + "</span></a>";
|
||||
|
||||
logsPathLabel->setText(pathShortened);
|
||||
|
||||
Reference in New Issue
Block a user