Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6afc94eb authored by Inge Wallin's avatar Inge Wallin

Fix bug 342434: .../lessonmodel.cpp:89: possible bad if test ?

Yes, indeed, it was a bad if test.  Thanks dcb314@hotmail.com for the good
eyes.
parent a4eecc42
......@@ -86,7 +86,7 @@ void LessonModel::splitLesson(const QModelIndex& containerIndex, int entriesPerL
return;
}
if (!static_cast<KEduVocContainer*>(containerIndex.internalPointer())->containerType() == KEduVocContainer::Lesson) {
if (static_cast<KEduVocContainer*>(containerIndex.internalPointer())->containerType() != KEduVocContainer::Lesson) {
return;
}
......
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