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 1f3f2fc0 authored by Volker Krause's avatar Volker Krause

Fix operator!= logic

parent b39a40fc
......@@ -24,12 +24,12 @@
bool Airport::operator!=(const Airport &other) const
{
return m_iataCode != other.m_iataCode && m_name != other.m_name;
return m_iataCode != other.m_iataCode || m_name != other.m_name;
}
bool Airline::operator!=(const Airline &other) const
{
return m_iataCode != other.m_iataCode && m_name != other.m_name;
return m_iataCode != other.m_iataCode || m_name != other.m_name;
}
static QString localizedDateTime(const QDateTime &dt)
......
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