mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(paths): fix bugs uncovered while developing test cases
There was one directory separator too much in the path. Also improved the documentation.
This commit is contained in:
parent
55c361eb71
commit
0ea409054a
|
@ -38,14 +38,17 @@ const QLatin1Literal TCSToxFileFolder{"~/.config/tox/"};
|
||||||
* @code
|
* @code
|
||||||
* <BASE_PATH>/themes/
|
* <BASE_PATH>/themes/
|
||||||
* /profiles/
|
* /profiles/
|
||||||
|
* /profiles/avatars/
|
||||||
* /...
|
* /...
|
||||||
* @endcode
|
* @endcode
|
||||||
*
|
*
|
||||||
* Example file layout for portable mode:
|
* Example file layout for portable mode:
|
||||||
* @code
|
* @code
|
||||||
* <BASE_PATH>/themes/
|
* /qTox.bin
|
||||||
* /profiles/
|
* /themes/
|
||||||
* /qtox.ini
|
* /profiles/
|
||||||
|
* /profiles/avatars/
|
||||||
|
* /qtox.ini
|
||||||
* @endcode
|
* @endcode
|
||||||
*
|
*
|
||||||
* All qTox or Tox specific directories should be looked up through this module.
|
* All qTox or Tox specific directories should be looked up through this module.
|
||||||
|
@ -191,7 +194,7 @@ QString Paths::getAvatarsDir() const
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
return path % QDir::separator() % avatarsFolder % QDir::separator();
|
return path % avatarsFolder % QDir::separator();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user