Bug 205510 - Conversion of logging path with $HOME in it
Summary: Conversion of logging path with $HOME in it
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.2-alpha6
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks: 187307
  Show dependency treegraph
 
Reported: 2009-08-28 18:08 UTC by Ben Boeckel
Modified: 2009-09-15 15:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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