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/gui
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2014-03-18 17:12:38 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:12:59 +0300
commitc38b6b779df3b95026c2ff20914381e2e47ffb69 (patch)
tree09ed51e0a0daae002b093592894bbf800d058b78 /gui
parent86ffb62add8edc3ad412805b96873fef00d5bb20 (diff)
Removed some logs from release builds
Diffstat (limited to 'gui')
-rw-r--r--gui/button.cpp2
-rw-r--r--gui/display_list_cache.cpp2
-rw-r--r--gui/element.cpp4
-rw-r--r--gui/text_view.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/gui/button.cpp b/gui/button.cpp
index db1f647ca5..57154c6990 100644
--- a/gui/button.cpp
+++ b/gui/button.cpp
@@ -201,7 +201,7 @@ namespace gui
if (it != m_dls.end())
r->drawDisplayList(it->second.get(), drawM * m);
else
- LOG(LWARNING, ("m_dls[state] is not set!"));
+ LOG(LDEBUG/*LWARNING*/, ("m_dls[state] is not set!"));
m_textView->draw(r, m);
}
diff --git a/gui/display_list_cache.cpp b/gui/display_list_cache.cpp
index 8dd854555b..62414d12e1 100644
--- a/gui/display_list_cache.cpp
+++ b/gui/display_list_cache.cpp
@@ -78,7 +78,7 @@ namespace gui
graphics::EPosition pos = graphics::EPosAbove;
if (strcmp(name, "search-result") == 0)
{
- LOG(LINFO, ("Position checked"));
+ LOG(LDEBUG, ("Position checked"));
pos = graphics::EPosCenter;
}
diff --git a/gui/element.cpp b/gui/element.cpp
index 9c464652ed..8b9d641cbe 100644
--- a/gui/element.cpp
+++ b/gui/element.cpp
@@ -48,7 +48,7 @@ namespace gui
if (m_controller)
m_controller->Invalidate();
else
- LOG(LWARNING, ("unattached gui::Element couldn't be invalidated!"));
+ LOG(LDEBUG/*LWARNING*/, ("unattached gui::Element couldn't be invalidated!"));
}
double Element::visualScale() const
@@ -57,7 +57,7 @@ namespace gui
return m_controller->GetVisualScale();
else
{
- LOG(LWARNING, ("unattached gui::Elements shouldn't call gui::Element::visualScale function"));
+ LOG(LDEBUG/*LWARNING*/, ("unattached gui::Elements shouldn't call gui::Element::visualScale function"));
return 0.0;
}
}
diff --git a/gui/text_view.cpp b/gui/text_view.cpp
index 328012bed6..f7002c34c9 100644
--- a/gui/text_view.cpp
+++ b/gui/text_view.cpp
@@ -107,7 +107,7 @@ namespace gui
if (it != m_dls.end())
r->drawDisplayList(it->second.get(), drawM * m);
else
- LOG(LWARNING, ("m_dls[state()] is not set!"));
+ LOG(LDEBUG/*LWARNING*/, ("m_dls[state()] is not set!"));
}
}