projects
/
irwi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f306fad
)
Opens and rewinds buffer
author
Torste Aikio
<zokier@scratchbox>
Fri, 21 May 2010 09:12:35 +0000
(12:12 +0300)
committer
Torste Aikio
<zokier@scratchbox>
Fri, 21 May 2010 09:12:35 +0000
(12:12 +0300)
src/settingsdlg.cpp
patch
|
blob
|
history
diff --git
a/src/settingsdlg.cpp
b/src/settingsdlg.cpp
index
ea5cd29
..
d760d97
100644
(file)
--- a/
src/settingsdlg.cpp
+++ b/
src/settingsdlg.cpp
@@
-74,6
+74,8
@@
void SettingsDlg::mfgListDownloadFinished(QNetworkReply *reply)
mfgList->clear();
QByteArray ba = reply->readAll();
QBuffer buf(&ba, this);
+ buf.open(QIODevice::ReadOnly);
+ buf.seek(0);
qDebug() << buf.canReadLine();
while (buf.canReadLine())
{