[bt-devel] [bibletime-cvs] SF.net SVN: bibletime: [376] trunk/bibletime/src/main.cpp

Martin Gruner mg.pub at gmx.net
Thu Oct 18 11:39:33 MST 2007


Hi Jeremy.

This code is evil, please remove it again. ;)

Never mind about the tips of the day config's location. We might disable them 
as well, becuase the content is not really impressive and it uses KDE classes 
for display. Not sure yet.

@All: sorry, I was quite busy this week. Will try to participate more again in 
the next days.

mg

Am Mittwoch, 17. Oktober 2007 schrieb jerickson314 at users.sourceforge.net:
> Revision: 376
>           http://bibletime.svn.sourceforge.net/bibletime/?rev=376&view=rev
> Author:   jerickson314
> Date:     2007-10-17 13:38:58 -0700 (Wed, 17 Oct 2007)
>
> Log Message:
> -----------
> Temporary fix for tip of day storage
>
> Modified Paths:
> --------------
>     trunk/bibletime/src/main.cpp
>
> Modified: trunk/bibletime/src/main.cpp
> ===================================================================
> --- trunk/bibletime/src/main.cpp	2007-10-16 18:10:49 UTC (rev 375)
> +++ trunk/bibletime/src/main.cpp	2007-10-17 20:38:58 UTC (rev 376)
> @@ -241,7 +241,16 @@
>  	KCmdLineArgs::init(argc, argv, &aboutData);
>  	KCmdLineArgs::addCmdLineOptions( options );
>
> +
>  	BibleTimeApp app;
> +
> +	//Fix for KDE components hardcoded to use standard config file.
> +	KStandardDirs stdDirs;
> +	QString kdeFile = stdDirs.locateLocal("config", "bibletimerc");
> +	QString ourFile = DirectoryUtil::getUserBaseDir().absolutePath() + "/" +
> "bibletimerc"; +	system("/bin/rm " + kdeFile.toLatin1());
> +	system("/bin/ln -s " + ourFile.toLatin1() + " " + kdeFile.toLatin1());
> +
>  	KGlobal::dirs()->addResourceType("BT_pic", "share/apps/bibletime/pics");
>  	KGlobal::dirs()->addResourceType("BT_DisplayTemplates",
> "share/apps/bibletime/display-templates");
>
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> bibletime-cvs mailing list
> bibletime-cvs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibletime-cvs





More information about the bt-devel mailing list