Commit 07bf8d7c authored by Szabolcs David's avatar Szabolcs David
Browse files

Remove Q_UNREACHABLE from DesktopScreenQt::GetDisplayNearestWindow


Chromium uses this method when the user attempts to drag.

Task-number: QTBUG-45723
Change-Id: Ibe3946846f0f4e2d2a25ca36e66fa7235d4aecea
Reviewed-by: default avatarAndras Becsi <andras.becsi@theqtcompany.com>
parent 8d23e37c
No related merge requests found
Showing with 2 additions and 1 deletion
......@@ -70,7 +70,8 @@ std::vector<gfx::Display> DesktopScreenQt::GetAllDisplays() const
gfx::Display DesktopScreenQt::GetDisplayNearestWindow(gfx::NativeView window) const
{
Q_UNREACHABLE();
// RenderViewHostImpl::OnStartDragging uses this to determine
// the scale factor for the view.
return gfx::Display();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment