diff options
| author | David Faure <[email protected]> | 2007-08-28 21:47:20 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2007-08-28 21:47:20 +0000 |
| commit | 8118d8e24317b697f78bf32b41fda4200bc56ff9 (patch) | |
| tree | d3701f5778147d629a403dd6d18579de145ef212 /src/dolphinview.cpp | |
| parent | f229d1531aeaa81eefe4ccce6fd72c96d51807a3 (diff) | |
dolphinview fix: don't emit urlChanged twice in DolphinView::setUrl (it's already emitted by the controller, and we forward that)
dolphinpart fix: don't let the konq wheel spin forever when clicking on the Home button and we're already viewing $HOME.
svn path=/trunk/KDE/kdebase/apps/; revision=705916
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 073ab5589..3a8d6a8ea 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -430,12 +430,11 @@ void DolphinView::setUrl(const KUrl& url) return; } - m_controller->setUrl(url); + m_controller->setUrl(url); // emits urlChanged, which we forward applyViewProperties(url); startDirLister(url); - emit urlChanged(url); } void DolphinView::mouseReleaseEvent(QMouseEvent* event) @@ -917,7 +916,7 @@ void DolphinView::updateViewportColor() { QColor color = KColorScheme(KColorScheme::View).background(); if (m_active) { - emit urlChanged(url()); + emit urlChanged(url()); // Hmm, this is a hack; the url hasn't really changed. emit selectionChanged(selectedItems()); } else { color.setAlpha(0); |
