summaryrefslogtreecommitdiff
path: root/client/messagebox.cc
diff options
context:
space:
mode:
authordeva <deva>2006-03-07 10:37:59 +0000
committerdeva <deva>2006-03-07 10:37:59 +0000
commit1390ddfe6afe41dba141f8170f9b277573ebe8cd (patch)
treefd6861f3eab3a4721f2445540279a8223d7cd1a3 /client/messagebox.cc
parent19ade36987f86c9b4cd4c5ec3fc6c499205c61ec (diff)
*** empty log message ***
Diffstat (limited to 'client/messagebox.cc')
-rw-r--r--client/messagebox.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/messagebox.cc b/client/messagebox.cc
index abd7479..f4797ab 100644
--- a/client/messagebox.cc
+++ b/client/messagebox.cc
@@ -39,8 +39,8 @@
*/
MessageBox::MessageBox(QWidget* parent,
- const char* name,
- const char* text,
+ const QString name,
+ const QString text,
msg_type type,
msg_icon icon)
: QDialog(parent)
@@ -49,7 +49,7 @@ MessageBox::MessageBox(QWidget* parent,
//int resolution_h = config->readInt("pixel_height");
unit = ((float)resolution_w / config->readFloat("screensize")) / INCH_IN_CM;
-
+ setModal(true);
setWindowTitle(name);
QFrame *topf = new QFrame(this);
topf->setFrameStyle(QFrame::Box | QFrame::Raised);