From 548169f004ac274050f5858b3594e3bead692a52 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 17 Dec 2006 14:14:52 +0000 Subject: - don't use deprecated KAction constructors svn path=/trunk/playground/utils/dolphin/; revision=614376 --- src/dolphinmainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 3ed4a5403..a04ba5521 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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())); -- cgit v1.3