From ecb34e8dd2bad1e72eba5a63e8e2154eabb05e29 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 20 Jul 2011 01:17:58 -0500 Subject: [PATCH] Fix kerry FTBFS under Ubuntu --- .../kerry/debian/patches/kubuntu_05_shortkey.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_05_shortkey.patch b/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_05_shortkey.patch index 6478949f6..d7f3f3649 100644 --- a/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_05_shortkey.patch +++ b/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_05_shortkey.patch @@ -1,13 +1,13 @@ diff -Nur kerry-0.2.1/kerry/src/kerryapp.cpp kerry-0.2.1.new/kerry/src/kerryapp.cpp ---- kerry-0.2.1/kerry/src/kerryapp.cpp 2006-12-04 14:35:38.000000000 +0100 -+++ kerry-0.2.1.new/kerry/src/kerryapp.cpp 2006-12-05 18:30:44.000000000 +0100 +--- kerry-0.2.1/kerry/src/kerryapp.cpp ++++ kerry-0.2.1.new/kerry/src/kerryapp.cpp @@ -122,8 +122,7 @@ - globalKeys = new KGlobalAccel(this); + globalKeys = new KGlobalAccel(TQT_TQOBJECT(this)); globalKeys->insert( "Program:kerry", i18n("Kerry Beagle Search") ); - + - KShortcut showDialogShortcut = KShortcut(ALT+Key_Space); - showDialogShortcut.append( KKey( Key_F12 ) ); + KShortcut showDialogShortcut = KShortcut(CTRL+SHIFT+Key_Space); - globalKeys->insert( "Show Kerry Dialog", i18n("Show Search Dialog"), QString::null, showDialogShortcut, showDialogShortcut, hitListWindow, SLOT(showSearchDialog()) ); - globalKeys->insert( "Search Primary Selection with Kerry", i18n("Search Primary Selection"), QString::null, CTRL+ALT+Key_Space, CTRL+ALT+Key_Space, this, SLOT(searchPrimarySelection()) ); + globalKeys->insert( "Show Kerry Dialog", i18n("Show Search Dialog"), TQString(), showDialogShortcut, showDialogShortcut, TQT_TQOBJECT(hitListWindow), TQT_SLOT(showSearchDialog()) ); + globalKeys->insert( "Search Primary Selection with Kerry", i18n("Search Primary Selection"), TQString(), CTRL+ALT+Key_Space, CTRL+ALT+Key_Space, TQT_TQOBJECT(this), TQT_SLOT(searchPrimarySelection()) ); configChanged();