Port to QStringLiteral operator

This commit is contained in:
Jonas Kvinge
2024-10-20 06:38:55 +02:00
parent 722035913e
commit ef9ef63f02
202 changed files with 2036 additions and 1889 deletions

View File

@@ -46,6 +46,8 @@
#include "core/multisortfilterproxy.h"
#include "groupediconview.h"
using namespace Qt::Literals::StringLiterals;
namespace {
constexpr int kBarThickness = 2;
constexpr int kBarMarginTop = 3;
@@ -59,7 +61,7 @@ GroupedIconView::GroupedIconView(QWidget *parent)
header_spacing_(10),
header_indent_(5),
item_indent_(10),
header_text_(QStringLiteral("%1")) {
header_text_(u"%1"_s) {
setFlow(LeftToRight);
setViewMode(IconMode);