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 be2d440d authored by André Wöbbeking's avatar André Wöbbeking

--warnings (GCC 4.3)

looks like a logic error to me

svn path=/trunk/KDE/kdemultimedia/juk/; revision=833242
parent b65c2405
......@@ -745,7 +745,7 @@ ItemType *Playlist::createItem(const FileHandle &file, Q3ListViewItem *after,
}
}
if(item && !m_members.insert(file.absFilePath()) || m_allowDuplicates) {
if(item && (!m_members.insert(file.absFilePath()) || m_allowDuplicates)) {
ItemType *i = after ? new ItemType(item, this, after) : new ItemType(item, this);
setupItem(i);
......
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