VirtualBox

Changeset 10890 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 25, 2008 1:17:29 PM (16 years ago)
Author:
vboxsync
Message:

Fe/Qt4: Remove porting garbage from VBoxSelectorWnd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp

    r10809 r10890  
    9494    void gotLinkClicked (const QUrl &aURL)
    9595    {
    96 //#warning is this still necessary?
    97         QTextDocument* text = mDetailsText->document();
    9896        emit linkClicked (aURL.toString());
    99         /* QTextBrowser will try to get the URL from the mime source factory
    100          * and show an empty "page" after a failure. Reset the text to avoid
    101          * this. */
    102         mDetailsText->setDocument (text);
    10397    }
    10498
     
    133127    mDetailsText->setFrameShape (QFrame::NoFrame);
    134128    mDetailsText->viewport()->setAutoFillBackground (false);
     129    mDetailsText->setOpenLinks (false);
    135130
    136131    connect (mDetailsText, SIGNAL (anchorClicked (const QUrl &)),
    137             this, SLOT (gotLinkClicked (const QUrl &)));
     132             this, SLOT (gotLinkClicked (const QUrl &)));
    138133
    139134    addWidget (mDetailsText);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette