[rkward-cvs] SF.net SVN: rkward:[2855] trunk/rkward/rkward/windows/rkcommandeditorwindow .cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sat May 1 19:39:35 UTC 2010


Revision: 2855
          http://rkward.svn.sourceforge.net/rkward/?rev=2855&view=rev
Author:   tfry
Date:     2010-05-01 19:39:35 +0000 (Sat, 01 May 2010)

Log Message:
-----------
Also do not initialize the block actions, if there is no smart interface

Modified Paths:
--------------
    trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp

Modified: trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp	2010-05-01 19:28:12 UTC (rev 2854)
+++ trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp	2010-05-01 19:39:35 UTC (rev 2855)
@@ -190,6 +190,7 @@
 
 void RKCommandEditorWindow::initBlocks () {
 	RK_TRACE (COMMANDEDITOR);
+	if (!smart_iface) return;	// may happen in KDE => 4.6 if compiled with KDE <= 4.4
 	RK_ASSERT (block_records.isEmpty ());
 
 	KActionCollection* ac = getPart ()->actionCollection ();


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