[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: koffice/krita/core/builder
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-08-06 17:03:08
Message-ID: 200408061903.08165.nicolasg () snafu ! de
[Download RAW message or body]

On Thursday 05 August 2004 21:37, Adrian Page wrote:
> CVS commit by page:
>
> Allow non-local files to be loaded. We can't handle asynchronous loading at
> the moment so do it synchronously.
>
>
>   M +18 -0     kis_image_magick_converter.cc   1.20
>
>
> --- koffice/krita/core/builder/kis_image_magick_converter.cc  #1.19:1.20
> @@ -274,4 +274,21 @@ KisImageBuilder_Result KisImageMagickCon
>                  return KisImageBuilder_RESULT_NOT_EXIST;
>
> +#if 1
> +        // We're not set up to handle asynchronous loading at the moment.
> +        KisImageBuilder_Result result = KisImageBuilder_RESULT_FAILURE;
> +        QString tmpFile;
> +
> +#if KDE_IS_VERSION( 3, 1, 90 )

As KOffice CVS HEAD needs KDE 3.2.0 at minimu the check is not needed

> +        if (KIO::NetAccess::download(uri, tmpFile, qApp -> mainWidget()))
> +#else
> +        if (KIO::NetAccess::download(uri, tmpFile))
> +#endif
(...)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic