Switch to unified view
a/src/utils/appformime.cpp | b/src/utils/appformime.cpp | ||
---|---|---|---|
... |
... |
||
121 | { |
121 | { |
122 | AppMap::const_iterator it = theAppMap.find(mime); |
122 | AppMap::const_iterator it = theAppMap.find(mime); |
123 | if (it == theAppMap.end()) { |
123 | if (it == theAppMap.end()) { |
124 | if (reason) |
124 | if (reason) |
125 | *reason = string("No application found for ") + mime; |
125 | *reason = string("No application found for ") + mime; |
126 | return false; |
||
126 | } |
127 | } |
127 | *apps = it->second; |
128 | *apps = it->second; |
128 | return true; |
129 | return true; |
129 | } |
130 | } |
130 | 131 |