Skip to content

Commit

Permalink
place user settings window at same location as mouse pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
maqifrnswa committed Jan 2, 2015
1 parent ce7cef9 commit 03b3943
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/opencs/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ void CS::Editor::showSettings()
if (mSettings.isHidden())
mSettings.show();

mSettings.move (QCursor::pos());
mSettings.raise();
mSettings.activateWindow();
}
Expand Down

0 comments on commit 03b3943

Please sign in to comment.