aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dicealias.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2022-04-17 09:39:47 +0200
committerRenaud G <renaud@rolisteam.org>2022-04-17 09:39:47 +0200
commit0faec227b3ceb69225c59b1fc0d1da53de848ce5 (patch)
treea3888819d8630d26ce3f62226cd9e8507cab4dda /dicealias.cpp
parent6ba9324cf4864ebd2e2cdec8098b0889ceaea0a8 (diff)
downloadOneRoll-0faec227b3ceb69225c59b1fc0d1da53de848ce5.tar.gz
OneRoll-0faec227b3ceb69225c59b1fc0d1da53de848ce5.zip
Fix submodule with Qt6
Diffstat (limited to 'dicealias.cpp')
-rw-r--r--dicealias.cpp4
1 files changed, 2 insertions, 2 deletions
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;