diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2011-08-26 04:30:18 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2011-08-26 04:30:18 +0000 |
commit | 39519e800c7e9c861bd6a7972868e48d4f473bb0 (patch) | |
tree | 6f4bc7f6c7ae526167f5008698720ce784e06c50 /pjsip-apps/src/vidgui/vidwin.h | |
parent | 1803d15673fed4c7a349f05712d272aeb7499891 (diff) |
Re #1327:
- Vidgui UI updates on Qt must be done in the UI thread, implemented this with Qt signal-slot mechanism.
- VidWin::show() better be called internally by VidWin class instead of MainWin.
- Fix QString to const char* issue, keeping the pointer returned by "QString::to*()::data()" won't work, the pointer actually points to a temporary data (lifetime issue).
- Minor: cleaning up unused lines in vidgui.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3726 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/vidgui/vidwin.h')
-rw-r--r-- | pjsip-apps/src/vidgui/vidwin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/vidgui/vidwin.h b/pjsip-apps/src/vidgui/vidwin.h index 8a18785f..3602da94 100644 --- a/pjsip-apps/src/vidgui/vidwin.h +++ b/pjsip-apps/src/vidgui/vidwin.h @@ -32,7 +32,6 @@ public: Qt::WindowFlags f = 0); virtual ~VidWin(); QSize sizeHint() const { return size_hint; } - void show(bool visible=true); protected: virtual bool event(QEvent *e); @@ -46,6 +45,7 @@ private: void detach(); void set_size(); void get_size(); + void show(bool visible=true); }; #endif |