Checks whether to copy paths recursively. @return true if we need to copy paths recursively.
| 531 | // @return true if we need to copy paths recursively. |
| 532 | // |
| 533 | bool Settings::GetCopyPathsRecursively() const |
| 534 | { |
| 535 | // Perform late-revising. |
| 536 | Revise(); |
| 537 | |
| 538 | // Check if value exists. If so, read it, otherwise use default value. |
| 539 | bool copyPathsRecursively = SETTING_COPY_PATHS_RECURSIVELY_DEFAULT; |
| 540 | DWORD regCopyPathsRecursively = 0; |
| 541 | if (m_UserKey.QueryDWORDValue(SETTING_COPY_PATHS_RECURSIVELY, regCopyPathsRecursively) == ERROR_SUCCESS) { |
| 542 | copyPathsRecursively = regCopyPathsRecursively != 0; |
| 543 | } |
| 544 | return copyPathsRecursively; |
| 545 | } |
| 546 | |
| 547 | // |
| 548 | // Returns the string to use between each path copied. An empty string |
nothing calls this directly
no test coverage detected