| 58 | } |
| 59 | |
| 60 | std::optional<std::string> verifyIconFilePath( std::string filename ) |
| 61 | { |
| 62 | const auto notifIconPath = paths::binaryDirectoryFindFile( filename ); |
| 63 | if ( !notifIconPath.has_value() ) |
| 64 | { |
| 65 | LOG( ERROR ) << "Could not find icon \"" << filename << "\""; |
| 66 | } |
| 67 | |
| 68 | return notifIconPath; |
| 69 | } |
| 70 | |
| 71 | } // namespace paths |
no test coverage detected