summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index cf1a6496..5651f968 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -205,7 +205,10 @@ Client::Client(const Options &options):
mInstance = this;
// Load branding information
- branding.init("data/branding.xml");
+ if (!options.brandingPath.empty())
+ {
+ branding.init(options.brandingPath);
+ }
initHomeDir(options);
initScreenshotDir(options.screenshotDir);