Mercurial > hg > octave-lyh
changeset 14728:ddd9c2a91de5 gui
Adjusted file browser up directory icon.
* files-dockwidget.cc: Adjusted icon.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 05 Jun 2012 16:24:37 +0200 |
parents | f34984656658 |
children | bf4cc213a5e3 |
files | gui/src/files-dockwidget.cc |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/src/files-dockwidget.cc +++ b/gui/src/files-dockwidget.cc @@ -39,9 +39,7 @@ _navigation_tool_bar->setIconSize (QSize (20, 20)); // Add a button to the toolbar with the QT standard icon for up-directory - // TODO: Maybe change this to be an up-directory icon that is OS specific??? - QStyle *style = QApplication::style (); - _directory_icon = style->standardIcon (QStyle::SP_FileDialogToParent); + _directory_icon = QIcon(":/actions/icons/up.png"); _directory_up_action = new QAction (_directory_icon, "", _navigation_tool_bar); _directory_up_action->setStatusTip (tr ("Move up one directory."));