aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/coloring_rules_dialog.cpp
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-04-15 00:18:53 +0100
committerJoão Valverde <j@v6e.pt>2023-04-20 14:12:39 +0000
commit81a8777b9f4929a869f81a4039a2302b3bf2a107 (patch)
treef9bc2b4277dde28860657bf4a66639347c2b7045 /ui/qt/coloring_rules_dialog.cpp
parent2faaf6c33b2c527f68e28ad8e126088065b6464e (diff)
dfilter: Make error a pointer
Make it easier and more natural to test for errors and hand-over error results.
Diffstat (limited to 'ui/qt/coloring_rules_dialog.cpp')
-rw-r--r--ui/qt/coloring_rules_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/coloring_rules_dialog.cpp b/ui/qt/coloring_rules_dialog.cpp
index df178ec101..d1ff0d5827 100644
--- a/ui/qt/coloring_rules_dialog.cpp
+++ b/ui/qt/coloring_rules_dialog.cpp
@@ -164,7 +164,7 @@ bool ColoringRulesDialog::isValidFilter(QString filter, QString * error)
if (df_err)
{
error->append(df_err->msg);
- dfilter_error_free(df_err);
+ df_error_free(&df_err);
}
return false;