|
|
@ -51,8 +51,6 @@ UBGraphicsCompass::UBGraphicsCompass() |
|
|
|
, mDrewCenterCross(false) |
|
|
|
, mDrewCenterCross(false) |
|
|
|
{ |
|
|
|
{ |
|
|
|
setRect(sDefaultRect); |
|
|
|
setRect(sDefaultRect); |
|
|
|
setBrush(QBrush(Qt::red)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//TODO claudio: remove code duplication
|
|
|
|
//TODO claudio: remove code duplication
|
|
|
|
QDesktopWidget* desktop = UBApplication::desktop(); |
|
|
|
QDesktopWidget* desktop = UBApplication::desktop(); |
|
|
|
int dpiCommon = (desktop->physicalDpiX() + desktop->physicalDpiY()) / 2; |
|
|
|
int dpiCommon = (desktop->physicalDpiX() + desktop->physicalDpiY()) / 2; |
|
|
|