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

List:       kde-commits
Subject:    kdepim/kaddressbook/views
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2003-05-15 20:01:20
[Download RAW message or body]

CVS commit by danimo: 

Warum so bescheiden, wir ham's doch!
(aka show all available image formats instead of blind guessing)


  M +2 -1      configuretableviewdialog.cpp   1.6


--- kdepim/kaddressbook/views/configuretableviewdialog.cpp  #1.5:1.6
@@ -35,4 +35,5 @@
 #include <kurlrequester.h>
 #include <kiconloader.h>
+#include <kimageio.h>
 #include <kconfig.h>
 
@@ -128,5 +129,5 @@ void LookAndFeelPage::initGUI()
   mBackgroundName->setMode(KFile::File | KFile::ExistingOnly |
                            KFile::LocalOnly);
-  mBackgroundName->setFilter(i18n("*.png *.jpg *.xpm|Image Files\n*|All Files"));
+  mBackgroundName->setFilter(KImageIO::pattern(KImageIO::Reading));
   backgroundLayout->addWidget(mBackgroundName);
       


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

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