You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in #10058, FolderStatusModel::data may return invalid QVariants. In this case, we forgot to handle a case (subfolders) properly, and checking for validity might have saved us from some trouble there.
Since data is used in a variety of places, we might want to Q_ASSERT(xyz.valid()) in those places as well.
The text was updated successfully, but these errors were encountered:
As seen in #10058,
FolderStatusModel::data
may return invalidQVariant
s. In this case, we forgot to handle a case (subfolders) properly, and checking for validity might have saved us from some trouble there.Since
data
is used in a variety of places, we might want toQ_ASSERT(xyz.valid())
in those places as well.The text was updated successfully, but these errors were encountered: