Skip to content

Commit

Permalink
Fix build due wrong namespace usage
Browse files Browse the repository at this point in the history
  • Loading branch information
manup committed Mar 5, 2020
1 parent c69b832 commit 15ff6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ RuleCondition::RuleCondition(const QVariantMap &map)
// /sensors/51/state/localtime
else if (str.startsWith(QLatin1String(RSensors)) && str.endsWith(QLatin1String(RStateLocaltime)))
{
const QStringList ls = str.split('/', Qt::SkipEmptyParts); // cache resource id
const QStringList ls = str.split('/', QString::SkipEmptyParts); // cache resource id
// [ "sensors", "51", "state", "localtime" ]
if (ls.size() == 4)
{
Expand Down

0 comments on commit 15ff6d3

Please sign in to comment.