switch off geolocation with downloader

This commit is contained in:
Darafei Praliaskouski 2013-02-25 15:01:06 +03:00 committed by Alex Zolotarev
parent 7698b8ea9e
commit eb287847ed

View file

@ -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[] = {