diff options
| author | Peter Penz <[email protected]> | 2007-06-28 18:52:54 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-06-28 18:52:54 +0000 |
| commit | 34ff90696f8a9d8a5d2c02be1b11b4d092b888c1 (patch) | |
| tree | 512848c4c0a77b5e967b5426199516c5f48da3e8 /src/dolphincontroller.cpp | |
| parent | ba6c853219c78e4e2a491d416b94e4e4c1aef591 (diff) | |
Improve handling of column view:
* Activate column on a mouse press event
* Always synchronize the active column with the URL navigator and vice versa
svn path=/trunk/KDE/kdebase/apps/; revision=681369
Diffstat (limited to 'src/dolphincontroller.cpp')
| -rw-r--r-- | src/dolphincontroller.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index 1831c15c3..0f308481f 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -34,6 +34,14 @@ DolphinController::~DolphinController() { } +void DolphinController::setUrl(const KUrl& url) +{ + if (m_url != url) { + m_url = url; + emit urlChanged(url); + } +} + void DolphinController::triggerContextMenuRequest(const QPoint& pos) { emit activated(); |
