Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2011-10-03 14:31:37 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:25:21 +0300
commitfd3a3a6d0fc3aeab9e7b0c4724d614dc587cb0ee (patch)
tree0c872119ff85927af83ec5919beea786832ba961 /qt_tstfrm
parent31279661079d1426c2dac1971fb5bce6d086be32 (diff)
refactored ScreenBase to support GUI rotation.
Diffstat (limited to 'qt_tstfrm')
-rw-r--r--qt_tstfrm/screen_qt.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt_tstfrm/screen_qt.hpp b/qt_tstfrm/screen_qt.hpp
index aee42e5098..cec61717b9 100644
--- a/qt_tstfrm/screen_qt.hpp
+++ b/qt_tstfrm/screen_qt.hpp
@@ -32,7 +32,7 @@ namespace qt
public:
void setPainter(QPainter * p) { m_p = p; }
void onSize(int w, int h) { m_convertor.OnSize(0, 0, w, h); }
- void setFromRect(m2::RectD const & r) { m_convertor.SetFromRect(r); }
+ void setFromRect(m2::RectD const & r) { m_convertor.SetFromRect(m2::AARectD(r)); }
template <class TCont> void drawPath(TCont const & c)
{