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

List:       kde-commits
Subject:    KDE/kdebase/konqueror/settings/filetypes
From:       David Faure <faure () kde ! org>
Date:       2007-02-20 12:11:55
Message-ID: 1171973515.525915.27537.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 635605 by dfaure:

--deprecated


 M  +1 -2      filetypedetails.cpp  
 M  +1 -2      kservicelistwidget.cpp  


--- trunk/KDE/kdebase/konqueror/settings/filetypes/filetypedetails.cpp #635604:635605
@@ -231,8 +231,7 @@
     dontAskAgainName = "askSave"+mimeType;
 
   KSharedConfig::Ptr config = KSharedConfig::openConfig("konquerorrc", KConfig::NoGlobals);
-  config->setGroup("Notification Messages");
-  bool ask = config->readEntry(dontAskAgainName, QString()).isEmpty();
+  bool ask = config->group("Notification Messages").readEntry(dontAskAgainName).isEmpty();
   m_item->getAskSave(ask);
 
   bool neverAsk = false;
--- trunk/KDE/kdebase/konqueror/settings/filetypes/kservicelistwidget.cpp #635604:635605
@@ -47,8 +47,7 @@
     else
         setText( i18n( "%1 (%2)", pService->name(), pService->desktopEntryName() ) );
 
-    bool isApplication = pService->type() == "Application";
-    if (!isApplication)
+    if (!pService->isApplication())
       localPath = KStandardDirs::locateLocal("services", desktopPath);
     else
       localPath = pService->locateLocal();
[prev in list] [next in list] [prev in thread] [next in thread] 

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