summaryrefslogtreecommitdiff
path: root/client/videowidget.cc
diff options
context:
space:
mode:
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;
}