projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make compile on MSVC again... that thing doesn't know #warning, apparently -_-
[quassel.git]
/
src
/
client
/
clientsyncer.cpp
diff --git
a/src/client/clientsyncer.cpp
b/src/client/clientsyncer.cpp
index
4ec529c
..
79d8c91
100644
(file)
--- a/
src/client/clientsyncer.cpp
+++ b/
src/client/clientsyncer.cpp
@@
-30,6
+30,7
@@
#include "ircuser.h"
#include "ircchannel.h"
#include "network.h"
#include "ircuser.h"
#include "ircchannel.h"
#include "network.h"
+#include "networkmodel.h"
#include "signalproxy.h"
#include "signalproxy.h"
@@
-262,8
+263,10
@@
void ClientSyncer::syncToCore(const QVariantMap &sessionState) {
// create buffers
// FIXME: get rid of this crap
QVariantList bufferinfos = sessionState["BufferInfos"].toList();
// create buffers
// FIXME: get rid of this crap
QVariantList bufferinfos = sessionState["BufferInfos"].toList();
+ NetworkModel *networkModel = Client::networkModel();
+ Q_ASSERT(networkModel);
foreach(QVariant vinfo, bufferinfos)
foreach(QVariant vinfo, bufferinfos)
-
Client::buffer(vinfo.value<BufferInfo>()); // create Buffers and
BufferItems
+
networkModel->bufferUpdated(vinfo.value<BufferInfo>()); // create
BufferItems
QVariantList networkids = sessionState["NetworkIds"].toList();
QVariantList networkids = sessionState["NetworkIds"].toList();