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 5f59813e authored by Adriaan de Groot's avatar Adriaan de Groot 💬

Alas! Scott has abandoned the right and noble cause of ancient compiler...

Alas! Scott has abandoned the right and noble cause of ancient compiler versions. gcc 2.95 doesn't like Observer::updateData() accessing private methods of m_parent. But to tell the truth, I'm not sure if 'friend' can take structs.

svn path=/trunk/kdemultimedia/juk/; revision=391503
parent 5941b0a7
......@@ -59,6 +59,7 @@ private:
virtual void updateData() { m_parent->slotUpdate(); }
NowPlaying *m_parent;
};
friend struct Observer;
Observer m_observer;
PlaylistCollection *m_collection;
......
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