Changeset 10890 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 25, 2008 1:17:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp
r10809 r10890 94 94 void gotLinkClicked (const QUrl &aURL) 95 95 { 96 //#warning is this still necessary?97 QTextDocument* text = mDetailsText->document();98 96 emit linkClicked (aURL.toString()); 99 /* QTextBrowser will try to get the URL from the mime source factory100 * and show an empty "page" after a failure. Reset the text to avoid101 * this. */102 mDetailsText->setDocument (text);103 97 } 104 98 … … 133 127 mDetailsText->setFrameShape (QFrame::NoFrame); 134 128 mDetailsText->viewport()->setAutoFillBackground (false); 129 mDetailsText->setOpenLinks (false); 135 130 136 131 connect (mDetailsText, SIGNAL (anchorClicked (const QUrl &)), 137 this, SLOT (gotLinkClicked (const QUrl &)));132 this, SLOT (gotLinkClicked (const QUrl &))); 138 133 139 134 addWidget (mDetailsText);
Note:
See TracChangeset
for help on using the changeset viewer.