Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
fix regression disabled restoring window position
Browse files Browse the repository at this point in the history
  • Loading branch information
bylee20 committed Feb 12, 2015
1 parent 8086599 commit ccac58b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bomi/player/appstate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ auto AppState::restoreWindowGeometry(MainWindow *w) -> void
else if (win_size == s_fullScreen)
w->setFullScreen(true);
else if (win_size.isValid()) {
w->resize(win_size);
auto screen = w->screen()->availableVirtualSize();
const int x = screen.width() * win_pos.x();
const int y = screen.height() * win_pos.y();
Expand Down

0 comments on commit ccac58b

Please sign in to comment.