diff options
| author | Peter Penz <[email protected]> | 2010-12-19 12:48:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-12-19 12:48:24 +0000 |
| commit | f7bbe21b5b2d3bc85dcba1d03494879aac9e37c7 (patch) | |
| tree | a20978b2c22c4cd61e07ec887c7e489a0a382815 /src/dolphinmainwindow.h | |
| parent | 342954bb1fdc59fde0a95f2ba97b7e7712cfb47d (diff) | |
Fix regression introduced in 4.5 and allow to add the menu actions "Show Information Panel", "Show Folders Panel", "Show Terminal Panel", "Show Places Panel" and "Show Places Panel" to the toolbar like in KDE SC 4.4.
BUG: 250847
FIXED-IN: 4.6.0
svn path=/trunk/KDE/kdebase/apps/; revision=1207728
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index fdfa93144..9a57b5452 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -503,6 +503,15 @@ private: QString squeezedText(const QString& text) const; + /** + * Adds a clone of the action \a action to the action-collection with + * the name \a actionName, so that the action \a action also can be + * added to the toolbar by the user. This is useful if the creation of + * \a action is e.g. done in Qt and hence cannot be added directly + * to the action-collection. + */ + void addActionCloneToCollection(QAction* action, const QString& actionName); + private: /** * Implements a custom error handling for the undo manager. This |
