From 5ec017ac5f4c0cf9c39cb52ebe4d8dcc49f85a27 Mon Sep 17 00:00:00 2001 From: Andras Lasso Date: Sat, 12 Sep 2020 21:27:46 -0400 Subject: [PATCH] COMP: Fix build error in ctkLDAPExpr.cpp Fix typo that was made recently when fixing deprecated QString::null. From Qt changes-5.9.0 document: QString::null is now deprecated. When used to construct a QString, use QString() instead. When used to compare to a QString, replace with QString::isNull(). fixes #925 --- Libs/PluginFramework/ctkLDAPExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libs/PluginFramework/ctkLDAPExpr.cpp b/Libs/PluginFramework/ctkLDAPExpr.cpp index 27fa014053..4e6242eec2 100644 --- a/Libs/PluginFramework/ctkLDAPExpr.cpp +++ b/Libs/PluginFramework/ctkLDAPExpr.cpp @@ -620,7 +620,7 @@ QString ctkLDAPExpr::ParseState::getAttributeName() } } if (n == -1) { - return QString()( ); + return QString(); } return m_str.mid(start, n); }