Bug 205510

Summary: Conversion of logging path with $HOME in it
Product: [Applications] konversation Reporter: Ben Boeckel <bugzilla.kde>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: normal CC: hein
Priority: NOR    
Version: 1.2-alpha6   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 187307    

Description Ben Boeckel 2009-08-28 18:08:38 UTC
When using KDE4 Konversation for the first time, $HOME in the KDE3 config path is used verbatim for the logs. I have ~/$HOME/.kde/... now. After starting again, the path is corrected with $HOME expanded.
Comment 1 Eike Hein 2009-09-15 15:17:49 UTC
SVN commit 1023885 by hein:

* Add some code to expand $HOME in logfile paths, to be able
  to handle existing KDE 3 config files where $HOME was stored
  un-expanded in the config file. While I would actually pre-
  fer to continue to do it that way, it doesn't seem to be
  easily possible in KDE 4, as KConfigXT stores the result of
  a KUrlRequester as an URL even with the pref type being
  "Path", and shell expansion (keyname[$e]) appears to no lon-
  ger be supported either.
BUG:205510
* Switch back to using KUser to get the user's home dir.


 M  +3 -2      config/konversation.kcfg  
 M  +14 -10    viewer/chatwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023885