[rkward-cvs] SF.net SVN: rkward:[2825] trunk/rkward/rkward/windows/rkworkplaceview.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Tue Apr 20 16:40:16 UTC 2010
Revision: 2825
http://rkward.svn.sourceforge.net/rkward/?rev=2825&view=rev
Author: tfry
Date: 2010-04-20 16:40:15 +0000 (Tue, 20 Apr 2010)
Log Message:
-----------
Work around the Alt+something shortcut stealing in the tab bar
Modified Paths:
--------------
trunk/rkward/rkward/windows/rkworkplaceview.cpp
Modified: trunk/rkward/rkward/windows/rkworkplaceview.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkworkplaceview.cpp 2010-04-20 09:44:09 UTC (rev 2824)
+++ trunk/rkward/rkward/windows/rkworkplaceview.cpp 2010-04-20 16:40:15 UTC (rev 2825)
@@ -24,6 +24,7 @@
#include <kaction.h>
#include <kicon.h>
#include <kdeversion.h>
+#include <kacceleratormanager.h>
#include <qapplication.h>
#include <qevent.h>
@@ -55,6 +56,7 @@
# endif
#endif
+ KAcceleratorManager::setNoAccel (tabBar ()); // TODO: This is a WORKAROUND for a bug in kdelibs where tabs named "a0.txt", "a1.txt", etc. will steal the Alt+0/1... shortcuts
setTabBarHidden (true); // initially
connect (this, SIGNAL (currentChanged(int)), this, SLOT (currentPageChanged(int)));
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list