Commit 1c9b0873 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Fix inaccurate coordinates in "copy coordinates" on the desktop.

(cherry picked from commit cce6301d)
parent 6664f50a
......@@ -106,9 +106,9 @@ void MarbleWidgetPopupMenu::createActions()
void MarbleWidgetPopupMenu::showLmbMenu( int xpos, int ypos )
{
QPoint curpos = QPoint( xpos, ypos );
m_setHomePointAction->setData( curpos );
bool const smallScreen = MarbleGlobal::getInstance()->profiles() & MarbleGlobal::SmallScreen;
if ( smallScreen ) {
m_setHomePointAction->setData( curpos );
m_smallScreenMenu->popup( m_widget->mapToGlobal( curpos ) );
return;
}
......
Markdown is supported
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