diff --git a/part.cpp b/part.cpp index 9a95ca1fc..5e111edaf 100644 --- a/part.cpp +++ b/part.cpp @@ -110,7 +110,7 @@ Part::Part(QWidget *parentWidget, const char *widgetName, connect( m_document, SIGNAL( openURL(const KURL &) ), this, SLOT( openURL(const KURL &) ) ); connect( m_document, SIGNAL( close() ), this, SLOT( close() ) ); - if (parent && parent->metaObject()->slotNames(true).contains("slotQuit()")) + if ( parent && parent->metaObject()->indexOfSlot( SLOT( slotQuit() ) ) != -1 ) connect( m_document, SIGNAL( quit() ), parent, SLOT( slotQuit() ) ); else connect( m_document, SIGNAL( quit() ), this, SLOT( cannotQuit() ) ); diff --git a/ui/presentationwidget.cpp b/ui/presentationwidget.cpp index 76c0be609..ff0c3f5df 100644 --- a/ui/presentationwidget.cpp +++ b/ui/presentationwidget.cpp @@ -654,7 +654,8 @@ void PresentationWidget::generateOverlay() doublePixmap.fill( Qt::black ); pixmapPainter.begin( &doublePixmap ); pixmapPainter.setPen( 0x40 ); - pixmapPainter.setBrush( 0x80 ); +#warning QPainter.setBrush(0x80) ???? port this +// pixmapPainter.setBrush( 0x80 ); pixmapPainter.drawEllipse( 0, 0, side, side ); pixmapPainter.end(); QImage shadow( doublePixmap.convertToImage().smoothScale( side / 2, side / 2 ) );