summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorBjörn Hagemeister2014-06-05 18:45:50 +0200
committerBjörn Hagemeister2014-06-05 18:45:50 +0200
commitccc1b7e667ceaaeb878ffaa728245c3268c5cf73 (patch)
tree4747e14b2d9d80f301e32cfbfcd31d95a5503ba7 /src/server/mainwindow/mainwindow.h
parentMerge branch 'master' of git.openslx.org:pvs2 (diff)
downloadpvs2-ccc1b7e667ceaaeb878ffaa728245c3268c5cf73.tar.gz
pvs2-ccc1b7e667ceaaeb878ffaa728245c3268c5cf73.tar.xz
pvs2-ccc1b7e667ceaaeb878ffaa728245c3268c5cf73.zip
Fixed SegFauls by setting _streamingSource to integer and just using the clients id, instead of real pointers.
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r--src/server/mainwindow/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h
index fffa49a..64accd9 100644
--- a/src/server/mainwindow/mainwindow.h
+++ b/src/server/mainwindow/mainwindow.h
@@ -54,7 +54,7 @@ private:
Multicast,
LockedMulticast
} _mode;
- Client * _streamingSource;
+ int _streamingSource;
QMap<int, Client*> _watchers;
QList<ConnectionFrame*> _clientFrames;