From c9bfc4db72b84292f541c795993abde98e22121f Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 6 Mar 2006 10:44:07 +0000 Subject: *** empty log message *** --- client/aboutwindow.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'client/aboutwindow.cc') diff --git a/client/aboutwindow.cc b/client/aboutwindow.cc index 8743ed8..849608d 100644 --- a/client/aboutwindow.cc +++ b/client/aboutwindow.cc @@ -29,14 +29,14 @@ #include "aboutwindow.h" -#include -#include +#include +#include #include #define MARGIN 12 -AboutWindow::AboutWindow( QWidget* parent, const char* name ) - : QDialog( parent, name ) +AboutWindow::AboutWindow( QWidget* parent) + : QDialog( parent ) { setModal(true); pix_about = new QPixmap(); @@ -44,7 +44,7 @@ AboutWindow::AboutWindow( QWidget* parent, const char* name ) resize(pix_about->width(), pix_about->height()); - setBackgroundColor(QColor(200,200,200)); + // setBackgroundColor(QColor(200,200,200)); btn_ok = new QPushButton(this); btn_ok->setText("OK"); @@ -79,7 +79,7 @@ void AboutWindow::paintEvent( QPaintEvent *event ) painter.drawPixmap(0,0, *pix_about); // Draw title and version - painter.setBrush( SolidPattern ); + painter.setBrush( Qt::SolidPattern ); painter.setFont( QFont( "Arial", 18, QFont::Bold ) ); painter.setPen( Qt::black ); painter.drawText(version_x, version_y, "MIAV-Grab v" VERSION); -- cgit v1.2.3