summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
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")
}