Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 5387 | Differences between
and this patch

Collapse All | Expand All

(-)./knotes/knote.cpp (-1 / +2 lines)
Lines 495-501 Link Here
495
495
496
        QTextDocument* textDoc = new QTextDocument( 0 );
496
        QTextDocument* textDoc = new QTextDocument( 0 );
497
        textDoc->setFormatter( new QTextFormatterBreakWords );
497
        textDoc->setFormatter( new QTextFormatterBreakWords );
498
        textDoc->setDefaultFont( font );        // only needed for the pointsize
498
// setDefaultFont was removed in QT 3.05 !!!
499
//        textDoc->setDefaultFont( font );        // only needed for the pointsize
499
        textDoc->setUnderlineLinks( true );
500
        textDoc->setUnderlineLinks( true );
500
        textDoc->setStyleSheet( m_editor->styleSheet() );
501
        textDoc->setStyleSheet( m_editor->styleSheet() );
501
        textDoc->setMimeSourceFactory( m_editor->mimeSourceFactory() );
502
        textDoc->setMimeSourceFactory( m_editor->mimeSourceFactory() );

Return to bug 5387