From 0faec227b3ceb69225c59b1fc0d1da53de848ce5 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 17 Apr 2022 09:39:47 +0200 Subject: Fix submodule with Qt6 --- dicealias.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dicealias.cpp') diff --git a/dicealias.cpp b/dicealias.cpp index 3bce75d..a5c079d 100644 --- a/dicealias.cpp +++ b/dicealias.cpp @@ -162,8 +162,8 @@ bool DiceAlias::resolved(QString& str) } else if(m_type == REGEXP) { - QRegularExpression exp(m_command); - str.replace(exp, m_pattern); + QRegularExpression exp(m_pattern); + str.replace(exp, m_command); return true; } return false; -- cgit v1.2.3-70-g09d2