mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 08:47:35 +00:00
Ladybird/Qt: Move positional device pixel ratio adjustment to a helper
The code to convert a Gfx::IntPoint to a QPoint adjusted for the device pixel ratio is a bit of a mouthful, and will be needed outside of Tab, so move it to a helper that can be reused.
This commit is contained in:
parent
bc42144642
commit
b5e8f0ebfe
3 changed files with 12 additions and 5 deletions
|
@ -81,6 +81,8 @@ public:
|
|||
|
||||
using ViewImplementation::client;
|
||||
|
||||
QPoint map_point_to_global_position(Gfx::IntPoint) const;
|
||||
|
||||
signals:
|
||||
void urls_dropped(QList<QUrl> const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue