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
path: root/qt
diff options
context:
space:
mode:
authorDarafei Praliaskouski <komzpa@gmail.com>2013-02-25 16:01:06 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:51:28 +0300
commiteb287847ed5320ff7a14cba33c795dfea5d3d695 (patch)
treea4e481b681e8bb55bbe926dd43494f676191fb17 /qt
parent7698b8ea9eb4858aa0f8b74326b96590da485ad3 (diff)
switch off geolocation with downloader
Diffstat (limited to 'qt')
-rw-r--r--qt/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp
index 0854cd5055..d1d6b0795b 100644
--- a/qt/mainwindow.cpp
+++ b/qt/mainwindow.cpp
@@ -242,13 +242,16 @@ void MainWindow::CreateNavigationBar()
pToolBar->addSeparator();
+#ifndef NO_DOWNLOADER
// add my position button with "checked" behavior
+
m_pMyPositionAction = pToolBar->addAction(QIcon(":/navig64/location.png"),
tr("My Position"),
this,
SLOT(OnMyPosition()));
m_pMyPositionAction->setCheckable(true);
m_pMyPositionAction->setToolTip(tr("My Position"));
+#endif // NO_DOWNLOADER
// add view actions 1
button_t arr[] = {