[rkward-cvs] SF.net SVN: rkward:[3054] trunk/rkward/rkward/rkwardapplication.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Sep 20 09:16:09 UTC 2010


Revision: 3054
          http://rkward.svn.sourceforge.net/rkward/?rev=3054&view=rev
Author:   tfry
Date:     2010-09-20 09:16:08 +0000 (Mon, 20 Sep 2010)

Log Message:
-----------
Don't ask whether to trust this link. We're only browsing local pages, anyway.

Modified Paths:
--------------
    trunk/rkward/rkward/rkwardapplication.cpp

Modified: trunk/rkward/rkward/rkwardapplication.cpp
===================================================================
--- trunk/rkward/rkward/rkwardapplication.cpp	2010-09-20 08:43:34 UTC (rev 3053)
+++ trunk/rkward/rkward/rkwardapplication.cpp	2010-09-20 09:16:08 UTC (rev 3054)
@@ -35,6 +35,8 @@
 Atom wm_name_property;
 #endif	//Q_WS_WIN
 
+#include <kauthorized.h>
+
 #include "debug.h"
 
 #warning TODO: We could really use the detection logic from windows for x11, too. It seems much easier.
@@ -64,6 +66,9 @@
 	//RK_TRACE (APP);	// would be called before initialization of debug-level
 	RK_ASSERT (!rkapp);
 
+	// Don't complain when linking rkward://-pages from Rd pages
+	KAuthorized::allowUrlAction ("redirect", KUrl ("http://"), KUrl ("rkward://"));
+
 	rkapp = this;
 	detect_x11_creations = false;
 


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