From 4f84ffc811d93371f395f11a0e0f42000eaa99fc Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 7 Mar 2006 19:12:18 +0000 Subject: *** empty log message *** --- client/messagebox.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/messagebox.cc') diff --git a/client/messagebox.cc b/client/messagebox.cc index f4797ab..11686c7 100644 --- a/client/messagebox.cc +++ b/client/messagebox.cc @@ -29,9 +29,9 @@ #include "messagebox.h" #include "miav_config.h" -// For button sizes! -#include "mainwindow.h" - +#define INCH_IN_CM 2 +#define BUTTON_HEIGHT 1 +#define BUTTON_WIDTH 3 //////////////////////////////////////////////////////////////////////////////////////// /* If the cpr input by the user is not valid, this dialog * ask the user what to do. Edit the number, use it as it is, @@ -45,9 +45,9 @@ MessageBox::MessageBox(QWidget* parent, msg_icon icon) : QDialog(parent) { - int resolution_w = config->readInt("pixel_width"); + int resolution_w = MIaV::config->readInt("pixel_width"); //int resolution_h = config->readInt("pixel_height"); - unit = ((float)resolution_w / config->readFloat("screensize")) / INCH_IN_CM; + unit = ((float)resolution_w / MIaV::config->readFloat("screensize")) / INCH_IN_CM; setModal(true); setWindowTitle(name); -- cgit v1.2.3