How can I force parser to reparse the project?
Kevin Funk
kfunk at kde.org
Tue Nov 18 17:32:45 GMT 2014
On Tuesday 18 November 2014 18:02:30 Kevin Funk wrote:
> On Tuesday 18 November 2014 16:39:29 René J.V. Bertin wrote:
> > On Tuesday November 18 2014 14:26:55 René J.V. Bertin wrote:
> > > Out of curiosity: you don't rely on case-sensitive file names by any
> > > chance?
>
> Hm, there should only be path names with a lower-case 'kdevelop'. I'm
> puzzled how you got the 'KDevelop' in there...
>
> But I think I've found it -- we're using qAppName() to get the 'kdevelop'
> string, and there's this in qtbase:
>
> QString QCoreApplicationPrivate::appName() const
> {
> QString applicationName;
> #ifdef Q_OS_MAC
> applicationName = macMenuBarName();
> #endif
> if (applicationName.isEmpty() && argv[0]) {
> char *p = strrchr(argv[0], '/');
> applicationName = QString::fromLocal8Bit(p ? p + 1 : argv[0]);
> }
>
> return applicationName;
> }
> #endif
>
> Note the ifdef for Mac...
Fixed, I think. Please check.
commit c7b2d8f5a06f0554b2464384ce18ae4a9eacaede
Author: Kevin Funk <kfunk at kde.org>
Date: Tue Nov 18 18:12:02 2014 +0100
Don't use the undocumented qAppName()
This may return a different name on OSX (in fact the bundle name).
Use QCA::applicationName(), which is the same across platforms.
CCMAIL: rjvbertin at gmail.com
>
> (snip)
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
More information about the KDevelop
mailing list