Skip to content

Commit

Permalink
COMP: Fix build error in ctkLDAPExpr.cpp
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lassoan authored Sep 13, 2020
1 parent b7daec7 commit 5ec017a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libs/PluginFramework/ctkLDAPExpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ QString ctkLDAPExpr::ParseState::getAttributeName()
}
}
if (n == -1) {
return QString()( );
return QString();
}
return m_str.mid(start, n);
}
Expand Down

0 comments on commit 5ec017a

Please sign in to comment.