]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Compile++
authorLaurent Montel <montel@kde.org>
Mon, 27 Nov 2006 16:12:01 +0000 (16:12 +0000)
committerLaurent Montel <montel@kde.org>
Mon, 27 Nov 2006 16:12:01 +0000 (16:12 +0000)
svn path=/trunk/playground/utils/dolphin/; revision=608457

src/urlnavigator.cpp

index c76278e6114df3e2b64ebec5221162e1d5bb784b..ae2e06cbd73ba4abab43e054ee7173b6ef1e5f67 100644 (file)
@@ -472,7 +472,7 @@ void UrlNavigator::updateContent()
     QString path(url().pathOrUrl());
     const KAction* action = Dolphin::mainWin().actionCollection()->action("editable_location");
     // TODO: registry of default shortcuts
-    QString shortcut = action? action->shortcutText() : "Ctrl+L";
+    QString shortcut = action? action->shortcut().toString() : "Ctrl+L";
     if (m_toggleButton->isChecked()) {
         delete m_protocols; m_protocols = 0;
         delete m_protocolSeparator; m_protocolSeparator = 0;