move absolutePath to MiscFunctions
This commit is contained in:
parent
69d17bf424
commit
f0ad77251b
5 changed files with 28 additions and 28 deletions
|
|
@ -568,7 +568,7 @@ void CInputManager::applyConfigToKeyboard(SKeyboard* pKeyboard) {
|
|||
xkb_keymap * KEYMAP = NULL;
|
||||
|
||||
if (!FILEPATH.empty()) {
|
||||
auto path = g_pConfigManager->absolutePath(FILEPATH);
|
||||
auto path = absolutePath(FILEPATH, g_pConfigManager->configCurrentPath);
|
||||
|
||||
if (!std::filesystem::exists(path)) {
|
||||
Debug::log(ERR, "input:kb_file= file doesnt exist");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue