diff options
Diffstat (limited to 'client/messagebox.cc')
-rw-r--r-- | client/messagebox.cc | 6 |
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); |