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

List:       kde-commits
Subject:    Re: kdebase/kcontrol/background
From:       Lukáš_Tinkl <lukas () kde ! org>
Date:       2005-04-04 20:32:52
Message-ID: 200504042232.53240.lukas () kde ! org
[Download RAW message or body]

Dne po 4. dubna 2005 21:59 Stephan Binner napsal(a):
> CVS commit by binner:
>
> Bug 102244: SVG files unavail from file selector in slide show
>
>
>   M +9 -1      bgwallpaper.cpp   1.11
>
>
> --- kdebase/kcontrol/background/bgwallpaper.cpp  #1.10:1.11
> @@ -21,4 +21,6 @@
>   */
>
> +#include <config.h>
> +
>  #include <qcheckbox.h>
>  #include <qevent.h>
> @@ -143,6 +145,12 @@ void BGMultiWallpaperDialog::setEnabledM
>  void BGMultiWallpaperDialog::slotAdd()
>  {
> +    QString pattern = KImageIO::pattern();
> +#ifdef HAVE_LIBART
> +    pattern = "*.svg *.svgz " + pattern;
> +    pattern += "\n*.svg *.SVG *.svgz *.SVGZ|Scalable Vector Graphics";
> +#endif
> +
>      KFileDialog fileDialog(KGlobal::dirs()->findDirs("wallpaper",
> "").first(), -                           KImageIO::pattern(), this,
> +                           pattern, this,
>                             0L, true);

BUG XXXXX: Scalable Vector Graphics untranslatable in the pattern selection 
combo :)

-- 
Lukáš Tinkl <lukas@kde.org>
KDE developer


Got Mole problems? Call Avogardo 6.02 x 10^23


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

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