Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 3, 2013
1 parent 5513217 commit a9cf8ae
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions doomsday/client/src/ui/dialogs/videosettingsdialog.cpp
Expand Up @@ -93,20 +93,11 @@ DENG2_OBSERVES(PersistentCanvasWindow, AttributeChange)
vsync->updateFromCVar();

// Select the current resolution/size in the mode list.
Canvas::Size current;
//if(win.isFullScreen())
{
current = win.fullscreenSize();
}
/*
else
{
current = win.windowRect().size();
}*/
Canvas::Size current = win.fullscreenSize();

// Update selected display mode.
ui::Data::Pos closest = ui::Data::InvalidPos;
int delta;
int delta = 0;
for(ui::Data::Pos i = 0; i < modes->items().size(); ++i)
{
QPoint const res = modes->items().at(i).data().toPoint();
Expand Down

0 comments on commit a9cf8ae

Please sign in to comment.