mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-10-07 13:26:47 +00:00
Replaced some qstr with u""_q literal.
This commit is contained in:
@@ -91,7 +91,7 @@ void DownloadPathBox::radioChanged(Directory value) {
|
||||
void DownloadPathBox::editPath() {
|
||||
const auto initialPath = [] {
|
||||
const auto path = Core::App().settings().downloadPath();
|
||||
if (!path.isEmpty() && path != qstr("tmp")) {
|
||||
if (!path.isEmpty() && path != u"tmp"_q) {
|
||||
return path.left(path.size() - (path.endsWith('/') ? 1 : 0));
|
||||
}
|
||||
return QString();
|
||||
|
Reference in New Issue
Block a user