Commit 71c2a046 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Fix: use value from correct enum set (even if same value by chance)

parent 04f522f5
......@@ -136,7 +136,7 @@ QString toRevisionName(const KDevelop::VcsRevision& rev, const QString& currentR
case VcsRevision::Date:
case VcsRevision::FileNumber:
case VcsRevision::Invalid:
case VcsRevision::UserSpecialType:
case VcsRevision::UserType:
Q_ASSERT(false);
}
return QString();
......
......@@ -80,7 +80,7 @@ QString toRevisionName(const KDevelop::VcsRevision& rev, const QString& currentR
case VcsRevision::Date:
case VcsRevision::FileNumber:
case VcsRevision::Invalid:
case VcsRevision::UserSpecialType:
case VcsRevision::UserType:
Q_ASSERT(false);
}
return QString();
......
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