summaryrefslogtreecommitdiff
path: root/src/messagebox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/messagebox.cc')
-rw-r--r--src/messagebox.cc8
1 files changed, 0 insertions, 8 deletions
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;
}