[kdevplatform] a5caf03: Make it possible to add pre-configured launch conf

Aleix Pol aleixpol at kde.org
Fri Oct 22 11:38:52 UTC 2010


agh true, i did that so that i didn't have to repartent that or leak the
actions.

i'll fix it later

On Fri, Oct 22, 2010 at 9:03 AM, Andreas Pakulat <apaku at gmx.de> wrote:

> On 21.10.10 21:51:02, Aleix Pol wrote:
> > diff --git a/plugins/execute/nativeappconfig.cpp
> b/plugins/execute/nativeappconfig.cpp
> > index 5edb957..7aadbfc 100644
> > --- a/plugins/execute/nativeappconfig.cpp
> > +++ b/plugins/execute/nativeappconfig.cpp
> > @@ -395,5 +395,64 @@ void
> NativeAppConfigType::configureLaunchFromCmdLineArguments ( KConfigGroup cfg
> >      cfg.sync();
> >  }
> >
> > +QList<KDevelop::ProjectTargetItem*>
> targetsInFolder(KDevelop::ProjectFolderItem* folder)
> > +{
> > +    QList<KDevelop::ProjectTargetItem*> ret;
> > +    foreach(KDevelop::ProjectFolderItem* f, folder->folderList())
> > +        ret += targetsInFolder(f);
> > +
> > +    ret += folder->targetList();
> > +    return ret;
> > +}
> > +
> > +QList<QAction*> NativeAppConfigType::launcherSuggestions()
> > +{
> > +    static QList<QAction*> ret;
> > +    if(!ret.isEmpty())
> > +        return ret;
> > +
>
> This means this is only filled once during the execution of kdevelop,
> what happens if I open a second/third/.. project?
>
> Andreas
>
> --
> All the troubles you have will pass away very quickly.
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101022/7d4d7075/attachment-0001.html>


More information about the KDevelop-devel mailing list