summaryrefslogtreecommitdiff
path: root/client/videowidget.cc
diff options
context:
space:
mode:
authordeva <deva>2006-04-08 11:10:09 +0000
committerdeva <deva>2006-04-08 11:10:09 +0000
commit9c078bc5e1468ed79d85fafbad41160c0170959e (patch)
treec23fe08951e1a4a6cda0f0d5d56fbc3b17185f03 /client/videowidget.cc
parenta348f1d6d6c35800399b47a7d06562d52c38f72e (diff)
*** empty log message ***
Diffstat (limited to 'client/videowidget.cc')
-rw-r--r--client/videowidget.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/videowidget.cc b/client/videowidget.cc
index a007df8..edabf71 100644
--- a/client/videowidget.cc
+++ b/client/videowidget.cc
@@ -38,9 +38,9 @@ VideoWidget::VideoWidget() : QWidget()
// setenv("SDL_WINDOWID", ids.setNum(winId()).toStdString().c_str(), 1);
// Make it visible
- QPalette palette;
- palette.setColor(backgroundRole(), Qt::blue);
- setPalette(palette);
+ // QPalette palette;
+ // palette.setColor(backgroundRole(), Qt::blue);
+ // setPalette(palette);
// setLineWidth(10);
// setFrameStyle(QFrame::Raised);
@@ -107,7 +107,7 @@ int VideoWidget::getWidth()
{
int val;
mutex.lock();
- val = mysize.width();
+ val = mysize.width();//>720?720:mysize.width();
mutex.unlock();
return val;
}
@@ -116,7 +116,7 @@ int VideoWidget::getHeight()
{
int val;
mutex.lock();
- val = mysize.height();
+ val = mysize.height();//>576?576:mysize.height();
mutex.unlock();
return val;
}