summaryrefslogtreecommitdiff
path: root/src/info_gui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/info_gui.cc')
-rw-r--r--src/info_gui.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/info_gui.cc b/src/info_gui.cc
index 4536ed3..52bfa5c 100644
--- a/src/info_gui.cc
+++ b/src/info_gui.cc
@@ -53,6 +53,17 @@ InfoGui::~InfoGui()
{
}
+void InfoGui::setParent(QWidget *p)
+{
+ pthread_mutex_lock(&mutex);
+ // Beginning of safezone
+
+ parent = p;
+
+ // End of safezone
+ pthread_mutex_unlock(&mutex);
+}
+
void InfoGui::error(char *fmt, ...)
{
char buf[1024];