From fed5c1dbf6a6c01719efc686a3d966f810ab0ade Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 24 Mar 2005 16:47:23 +0000 Subject: Made the configurationfile parser --- src/messagebox.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/messagebox.cc') diff --git a/src/messagebox.cc b/src/messagebox.cc index a636bd7..fe255ae 100644 --- a/src/messagebox.cc +++ b/src/messagebox.cc @@ -64,19 +64,15 @@ MessageBox::MessageBox(QWidget* parent, { switch(type) { case TYPE_OK: - printf("using info icon!\n"); pix_icon->load( "info.png" ); break; case TYPE_OK_CANCEL: - printf("using warning icon!\n"); pix_icon->load( "warning.png" ); break; case TYPE_YES_NO: - printf("using question icon!\n"); pix_icon->load( "question.png" ); break; case TYPE_YES_NO_CANCEL: - printf("using question icon!\n"); pix_icon->load( "question.png" ); break; } @@ -84,25 +80,21 @@ MessageBox::MessageBox(QWidget* parent, } case ICON_INFO: // An info icon (matching the ok button) { - printf("using info icon!\n"); pix_icon->load( "info.png" ); break; } case ICON_WARN: // An warning icon (matching the ok/cancel button) { - printf("using warning icon!\n"); pix_icon->load( "warning.png" ); break; } case ICON_ERROR: // An critical error icon { - printf("using error icon!\n"); pix_icon->load( "error.png" ); break; } case ICON_QUESTION:// An question icon (matching the yes/no and yes/no/cancel buttons) { - printf("using question icon!\n"); pix_icon->load( "question.png" ); break; } -- cgit v1.2.3