Commit 5bbe783e authored by Scott Wheeler's avatar Scott Wheeler

It's a little nicer like this.

svn path=/trunk/kdemultimedia/juk/; revision=308848
parent 3369040d
...@@ -261,14 +261,9 @@ QDataStream &operator>>(QDataStream &s, PlaylistSearch &search) ...@@ -261,14 +261,9 @@ QDataStream &operator>>(QDataStream &s, PlaylistSearch &search)
QDataStream &operator<<(QDataStream &s, const PlaylistSearch::Component &c) QDataStream &operator<<(QDataStream &s, const PlaylistSearch::Component &c)
{ {
s << c.isPatternSearch(); s << c.isPatternSearch()
<< (c.isPatternSearch() ? c.pattern().pattern() : c.query())
if(c.isPatternSearch()) << c.isCaseSensitive()
s << c.pattern().pattern();
else
s << c.query();
s << c.isCaseSensitive()
<< c.columns() << c.columns()
<< Q_INT32(c.matchMode()); << Q_INT32(c.matchMode());
......
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