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

List:       konq-bugs
Subject:    [Bug 73352] can't change Browser Identification to Default
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2004-02-13 13:05:20
Message-ID: 20040213130520.20334.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=73352      
adawit@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From adawit@kde.org  2004-02-13 14:05 -------
CVS commit by adawit: 

- Fix Bug# 73352.

CCMAIL: 73352-done@bugs.kde.org


  M +5 -2      uachangerplugin.cpp   1.30


--- kdeaddons/konq-plugins/uachanger/uachangerplugin.cpp  #1.29:1.30
@@ -281,8 +281,8 @@ void UAChangerPlugin::slotDefault()
       if ( m_currentURL.isLocalFile() && m_config->hasGroup( "localhost" ) )
           m_config->deleteGroup( "localhost" );
+  
   m_config->sync();
 
-  // Reset some internal variables and inform the http io-slaves of
-  // the changes.
+  // Reset some internal variables and inform the http io-slaves of the changes.
   m_currentUserAgent = KProtocolManager::defaultUserAgent();
 
@@ -364,4 +364,7 @@ QString UAChangerPlugin::findTLD (const 
   }
   
+  if( domains.isEmpty() )
+    return hostname;
+    
   return domains[0];
 }
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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