Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 3690ef5a91a0e9d7f684224690de3fa0 > files > 1

ktorrent-3.2.3-2mdv2009.0.src.rpm

#http://websvn.kde.org/branches/stable/extragear-kde4/network/ktorrent/ktorrent/gui.cpp?r1=1002151&r2=1010498&pathrev=1010498&view=patch
--- ktorrent/ktorrent/gui.cpp	2009/07/25 08:01:55	1002151
+++ ktorrent/ktorrent/gui.cpp	2009/08/12 17:14:18	1010498
@@ -539,11 +539,9 @@
 		
 		show_kt_action = new KAction(KIcon("kt-show-hide"),i18n("Show/Hide KTorrent"),this);
 		connect(show_kt_action,SIGNAL(triggered()),this,SLOT(showOrHide()));
-		show_kt_action->setObjectName("ktorrent-show-hide-action");
-		show_kt_action->setGlobalShortcut(KShortcut(Qt::ALT+ Qt::SHIFT + Qt::Key_T), 
-										  KAction::ActiveShortcut | KAction::DefaultShortcut,KAction::Autoloading);
-		show_kt_action->setShortcut(show_kt_action->globalShortcut());
 		ac->addAction("show_kt",show_kt_action);
+		show_kt_action->setGlobalShortcut(KShortcut(Qt::ALT+ Qt::SHIFT + Qt::Key_T), 
+						KAction::ActiveShortcut | KAction::DefaultShortcut,KAction::Autoloading);
 
 		setStandardToolBarMenuEnabled(true);