Gui: Use QStringLiteral
This commit is contained in:
@@ -100,7 +100,7 @@ PyObject* CommandPy::listByShortcut(PyObject *args)
|
||||
for (Command* c : cmds) {
|
||||
Action* action = c->getAction();
|
||||
if (action) {
|
||||
QString spc = QString::fromLatin1(" ");
|
||||
QString spc = QStringLiteral(" ");
|
||||
if (Base::asBoolean(bIsRegularExp)) {
|
||||
QRegularExpression re(QString::fromLatin1(shortcut_to_find), QRegularExpression::CaseInsensitiveOption);
|
||||
if (!re.isValid()) {
|
||||
|
||||
Reference in New Issue
Block a user