diff options
author | Darafei Praliaskouski <komzpa@mapswith.me> | 2013-07-18 15:42:01 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:59:01 +0300 |
commit | 77225855f3bdcfb10500ef011c840a5175843a50 (patch) | |
tree | 8c936535b58f751623d301b973b71edafa6da4d9 /qt/mainwindow.cpp | |
parent | ccebc57d60417a08fa865567d9da7ec3b6079ebf (diff) |
[linux] disable My Location on linux
Diffstat (limited to 'qt/mainwindow.cpp')
-rw-r--r-- | qt/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp index 0c20532b54..967f8b1e94 100644 --- a/qt/mainwindow.cpp +++ b/qt/mainwindow.cpp @@ -237,7 +237,7 @@ void MainWindow::CreateNavigationBar() pToolBar->addSeparator(); -#ifndef NO_DOWNLOADER +#ifndef OMIM_OS_LINUX // add my position button with "checked" behavior m_pMyPositionAction = pToolBar->addAction(QIcon(":/navig64/location.png"), @@ -246,7 +246,7 @@ void MainWindow::CreateNavigationBar() SLOT(OnMyPosition())); m_pMyPositionAction->setCheckable(true); m_pMyPositionAction->setToolTip(tr("My Position")); -#endif // NO_DOWNLOADER +#endif // add view actions 1 button_t arr[] = { |