-rw-r--r-- | noncore/graphics/opie-eye/slave/slavereciever.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/slave/slavereciever.cpp b/noncore/graphics/opie-eye/slave/slavereciever.cpp index fb88873..941a5df 100644 --- a/noncore/graphics/opie-eye/slave/slavereciever.cpp +++ b/noncore/graphics/opie-eye/slave/slavereciever.cpp | |||
@@ -85,30 +85,32 @@ SlaveReciever::SlaveReciever( QObject* par) | |||
85 | SlaveReciever::~SlaveReciever() { | 85 | SlaveReciever::~SlaveReciever() { |
86 | } | 86 | } |
87 | 87 | ||
88 | void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) { | 88 | void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) { |
89 | owarn << "String is " << string.data() << "" << oendl; | 89 | owarn << "String is " << string.data() << "" << oendl; |
90 | QDataStream stream(ar, IO_ReadOnly ); | 90 | QDataStream stream(ar, IO_ReadOnly ); |
91 | QStringList lst; | 91 | QStringList lst; |
92 | static ImageInfo inf; | 92 | static ImageInfo inf; |
93 | static PixmapInfo pix; | 93 | static PixmapInfo pix; |
94 | 94 | ||
95 | if ( string == "thumbInfo(QString)" ) { | 95 | if ( string == "thumbInfo(QString)" ) { |
96 | stream >> inf.file; | 96 | stream >> inf.file; |
97 | inf.kind = false; | ||
97 | m_inList.append(inf); | 98 | m_inList.append(inf); |
98 | }else if ( string == "thumbInfos(QStringList)" ) { | 99 | }else if ( string == "thumbInfos(QStringList)" ) { |
99 | stream >> lst; | 100 | stream >> lst; |
100 | for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { | 101 | for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { |
101 | owarn << "Adding thumbinfo for file "+ *it << oendl; | 102 | owarn << "Adding thumbinfo for file "+ *it << oendl; |
102 | inf.file = (*it); | 103 | inf.file = (*it); |
104 | inf.kind = false; | ||
103 | m_inList.append(inf); | 105 | m_inList.append(inf); |
104 | } | 106 | } |
105 | }else if ( string == "fullInfo(QString)" ) { | 107 | }else if ( string == "fullInfo(QString)" ) { |
106 | inf.kind = true; | 108 | inf.kind = true; |
107 | stream >> inf.file; | 109 | stream >> inf.file; |
108 | m_inList.append(inf); | 110 | m_inList.append(inf); |
109 | }else if ( string == "fullInfos(QStringList)" ) { | 111 | }else if ( string == "fullInfos(QStringList)" ) { |
110 | stream >> lst; | 112 | stream >> lst; |
111 | for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { | 113 | for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { |
112 | owarn << "Adding fullInfo for"+ *it << oendl; | 114 | owarn << "Adding fullInfo for"+ *it << oendl; |
113 | inf.file = (*it); | 115 | inf.file = (*it); |
114 | inf.kind = true; | 116 | inf.kind = true; |