[Nepomuk] using QT_NO_CAST_ASCII in Nepomuk
Robby Stephenson
robby at periapsis.org
Sun Mar 28 06:48:17 CEST 2010
Hi all,
A personal idiosyncrasy of mine is that I develop with QT_NO_CAST_TO_ASCII
turned on. So of course, one of the first things I hit when I started to play
with Nepomuk and rcgen was the need for the following trivial patch...
Thoughts? Not a big deal, just thought I'd ask. I'm not sure if there are
other areas yet.
Robby
Index: nepomuk/rcgen/templates/source_safe.tpl
===================================================================
--- nepomuk/rcgen/templates/source_safe.tpl (revision 1105391)
+++ nepomuk/rcgen/templates/source_safe.tpl (working copy)
@@ -87,7 +87,7 @@
QString Nepomuk::NEPOMUK_RESOURCENAME::resourceTypeUri()
{
- return "NEPOMUK_RESOURCETYPEURI";
+ return QLatin1String("NEPOMUK_RESOURCETYPEURI");
}
NEPOMUK_METHODS
More information about the Nepomuk
mailing list