diff options
| author | Peter Penz <[email protected]> | 2008-02-15 19:40:27 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-02-15 19:40:27 +0000 |
| commit | 8f975fec469798b75a6aa11f3d97ac51ee23ae8c (patch) | |
| tree | a1ae06cd2bff501aff796b48dcf04e0b9caac6ed /src/infosidebarpage.cpp | |
| parent | 5bac7f6bde3181d44bc822ba05102e0d3c28050c (diff) | |
David says: "PixmapViewer::setSizeHint should call updateGeometry() instead of all those layout hacks :)" - and as always David was right :-)
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=775421
Diffstat (limited to 'src/infosidebarpage.cpp')
| -rw-r--r-- | src/infosidebarpage.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 943033876..30c4467b4 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -172,17 +172,6 @@ void InfoSidebarPage::resizeEvent(QResizeEvent* event) // try to increase the preview as large as possible m_preview->setSizeHint(QSize(maxWidth, maxWidth)); - - // --- - // TODO: The following workaround was not necessary with Qt 4.3.x - // but is mandatory with the current Qt4.4 beta version. Check with - // Qt 4.4.0 whether the issue is Dolphin specific - // (see PixmapViewer::setSizeHint()) or a regression in Qt. - QVBoxLayout* vBox = static_cast<QVBoxLayout*>(layout()); - vBox->removeWidget(m_preview); - vBox->insertWidget(0, m_preview); - // --- - m_urlCandidate = m_shownUrl; // reset the URL candidate if a resizing is done m_timer->start(TimerDelay); |
