diff options
| author | Peter Penz <[email protected]> | 2012-06-13 15:15:54 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-06-13 15:18:21 +0200 |
| commit | e9463ffe2ac110193cac4c25fcba887249f52b3c (patch) | |
| tree | 2628af56647926efc845086dc46b95650e89f1d2 /src/kitemviews/kfileitemmodel.cpp | |
| parent | fb15dac9752b44ceb0846ac013160d8972c5e862 (diff) | |
Fix regression: Open file if entering it in the URL-navigator
The regression has been introduced when hiding the DolphinDirLister
inside KFileItemModel. Now the signal urlIsFileError() gets forwarded
to the container again where the file will be opened.
BUG: 301757
FIXED-IN: 4.9.0
Diffstat (limited to 'src/kitemviews/kfileitemmodel.cpp')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp index eec90065a..f8302cfab 100644 --- a/src/kitemviews/kfileitemmodel.cpp +++ b/src/kitemviews/kfileitemmodel.cpp @@ -72,6 +72,7 @@ KFileItemModel::KFileItemModel(QObject* parent) : connect(m_dirLister, SIGNAL(infoMessage(QString)), this, SIGNAL(infoMessage(QString))); connect(m_dirLister, SIGNAL(errorMessage(QString)), this, SIGNAL(errorMessage(QString))); connect(m_dirLister, SIGNAL(redirection(KUrl,KUrl)), this, SIGNAL(directoryRedirection(KUrl,KUrl))); + connect(m_dirLister, SIGNAL(urlIsFileError(KUrl)), this, SIGNAL(urlIsFileError(KUrl))); // Apply default roles that should be determined resetRoles(); |
