summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 21:47:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 21:47:57 +0300
commit1f4410ab9ac4064ff0cfb0fd31b4e942bee82277 (patch)
tree4b1089f8ba8b33b26fe74911d31ed2ae0f933824 /src/gui/windows
parentbea613d8ba11a64ccf36a01735f2839894ca9476 (diff)
downloadplus-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.gz
plus-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.bz2
plus-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.xz
plus-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.zip
Add method safeDrawChildren for safe OpenGL renderer.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/connectiondialog.cpp2
-rw-r--r--src/gui/windows/ministatuswindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp
index a01d7e353..d7d099d38 100644
--- a/src/gui/windows/connectiondialog.cpp
+++ b/src/gui/windows/connectiondialog.cpp
@@ -85,6 +85,6 @@ void ConnectionDialog::safeDraw(Graphics *graphics)
{
BLOCK_START("ConnectionDialog::draw")
// Don't draw the window background, only draw the children
- drawChildren(graphics);
+ safeDrawChildren(graphics);
BLOCK_END("ConnectionDialog::draw")
}
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index 7341094aa..b7e8e6430 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -322,7 +322,7 @@ void MiniStatusWindow::draw(Graphics *graphics)
void MiniStatusWindow::safeDraw(Graphics *graphics)
{
BLOCK_START("MiniStatusWindow::draw")
- drawChildren(graphics);
+ safeDrawChildren(graphics);
BLOCK_END("MiniStatusWindow::draw")
}