diff options
author | Manuel Schneider | 2014-04-25 13:07:50 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-04-25 13:07:50 +0200 |
commit | 2b2681187163fd487a6033e10b0f8e002d698318 (patch) | |
tree | 8cc1da9e2a2640c6217b1cb2293dbeac77d6d8e1 /src/client/vnc/vncwindow.h | |
parent | Reduced button block code. Moved some magic number to header. (diff) | |
download | pvs2-2b2681187163fd487a6033e10b0f8e002d698318.tar.gz pvs2-2b2681187163fd487a6033e10b0f8e002d698318.tar.xz pvs2-2b2681187163fd487a6033e10b0f8e002d698318.zip |
Now using qWidget instead of qDialog to avoid the need to handdle every dialog
event (reject, done, accept, finished). No more close override necessary.
Diffstat (limited to 'src/client/vnc/vncwindow.h')
-rw-r--r-- | src/client/vnc/vncwindow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/vnc/vncwindow.h b/src/client/vnc/vncwindow.h index f79c358..6c28b1a 100644 --- a/src/client/vnc/vncwindow.h +++ b/src/client/vnc/vncwindow.h @@ -19,7 +19,7 @@ class VncThread; class QPainter; -class VncWindow : public QDialog +class VncWindow : public QWidget { Q_OBJECT @@ -33,7 +33,7 @@ protected slots: void onProjectionStopped(); void open(const QString& host, int port, const QString& passwd, bool ro, bool fullscreen, const QString& caption, const int clientId); - bool close(); +// bool close(); signals: void running(const bool isRunning, const int clientId); |