From: Simon Hausmann Date: Sun, 17 Dec 2006 14:14:52 +0000 (+0000) Subject: - don't use deprecated KAction constructors X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/548169f004ac274050f5858b3594e3bead692a52 - don't use deprecated KAction constructors svn path=/trunk/playground/utils/dolphin/; revision=614376 --- 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()));