diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2013-11-11 19:30:10 +0100 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2013-11-11 19:35:23 +0100 |
commit | 8ad5e173d8ef296c3aa72ddc2214a2d93552b024 (patch) | |
tree | e98293dc13d4ac6f6cc549aa993dc2eddc15f11d /src/net/java/sip/communicator/launcher/SIPCommunicator.java | |
parent | 74f26b4424f39b004ce74878c52f0ca18e5d088b (diff) | |
download | jitsi-8ad5e173d8ef296c3aa72ddc2214a2d93552b024.zip jitsi-8ad5e173d8ef296c3aa72ddc2214a2d93552b024.tar.gz jitsi-8ad5e173d8ef296c3aa72ddc2214a2d93552b024.tar.bz2 |
Set defaults for log and cache directory when profile directory is set
Diffstat (limited to 'src/net/java/sip/communicator/launcher/SIPCommunicator.java')
-rw-r--r-- | src/net/java/sip/communicator/launcher/SIPCommunicator.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/launcher/SIPCommunicator.java b/src/net/java/sip/communicator/launcher/SIPCommunicator.java index 6353fc4..ce03a1d 100644 --- a/src/net/java/sip/communicator/launcher/SIPCommunicator.java +++ b/src/net/java/sip/communicator/launcher/SIPCommunicator.java @@ -203,7 +203,10 @@ public class SIPCommunicator boolean isHomeDirnameForced = name != null; - if (profileLocation == null || name == null) + if (profileLocation == null + || cacheLocation == null + || logLocation == null + || name == null) { String defaultLocation = System.getProperty("user.home"); String defaultName = ".jitsi"; |