diff options
| author | Frank Reininghaus <[email protected]> | 2009-05-05 21:49:03 +0000 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2009-05-05 21:49:03 +0000 |
| commit | cc8a62ff160c0619b09fe7827c6fd6f38e023866 (patch) | |
| tree | 09d9c19dc69310a27d816453afd344a32475da0f /src/dolphinmainwindow.h | |
| parent | 0738c273ce927a32db0be2fa6e29f15a554a947d (diff) | |
Don't show an empty window caption when browsing "/", "trash:", etc.
BUG: 190783
svn path=/trunk/KDE/kdebase/apps/; revision=964061
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 5e1d27476..c1e0ffcbd 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -435,6 +435,12 @@ private: */ QString tabProperty(const QString& property, int tabIndex) const; + /** + * Sets the window caption to url.fileName() if this is non-empty, + * "/" if the URL is "file:///", and url.protocol() otherwise. + */ + void setUrlAsCaption(const KUrl& url); + private: /** * Implements a custom error handling for the undo manager. This |
