1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00

- don't use deprecated KAction constructors

svn path=/trunk/playground/utils/dolphin/; revision=614376
This commit is contained in:
Simon Hausmann 2006-12-17 14:14:52 +00:00
parent cb4aa16629
commit 548169f004

View File

@ -1258,7 +1258,8 @@ void DolphinMainWindow::setupActions()
split->setIcon(KIcon("view_left_right"));
connect(split, SIGNAL(triggered()), this, SLOT(toggleSplitView()));
KAction* reload = new KAction(i18n("Reload"), "F5", actionCollection(), "reload");
KAction* reload = new KAction(actionCollection(), "reload");
reload->setText(i18n("Reload"));
reload->setShortcut(Qt::Key_F5);
reload->setIcon(KIcon("reload"));
connect(reload, SIGNAL(triggered()), this, SLOT(reloadView()));