Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jan 20, 2013
1 parent 056fd17 commit 6098b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ int main(int argc, char *argv[])
w.setCacheMode(QGraphicsView::CacheNone);
w.setViewport(glw);
#else
setCacheMode(QGraphicsView::CacheBackground);
w.setCacheMode(QGraphicsView::CacheBackground);
#endif
GraphicsItemRenderer renderer;
renderer.resizeVideo(800, 600);
s.addItem(&renderer);
#else
WidgetRenderer renderer;
renderer.show();
renderer.setWindowTitle("QtAV " QTAV_VERSION_STR_LONG);
renderer.setWindowTitle("QtAV " QTAV_VERSION_STR_LONG " [email protected]");
//renderer.resize(800, 600);
#endif
QString fileName;
Expand Down

0 comments on commit 6098b07

Please sign in to comment.