Commit 189124d2 authored by Laurent Montel's avatar Laurent Montel 😁

Use isEmpty

parent 4924cf74
......@@ -115,7 +115,7 @@ private:
OXA::Folder::Module module = OXA::Folder::Unbound;
if (parts.count() > 0) {
if (!parts.isEmpty()) {
if (parts.at(0) == QLatin1String("calendar")) {
module = OXA::Folder::Calendar;
} else if (parts.at(0) == QLatin1String("contacts")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment