Commit f5b4c0c
committed
Handle DBus error in KWallet::networkWallet
If the reply is an error trying to interpret the reply as a string
will give the error message as string. Feeding that to openWallet()
will then try to open that wallet, which makes no sense.
Instead check whether the reply is valid and error out otherwise.1 parent 0873693 commit f5b4c0c
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
261 | 266 | | |
262 | 267 | | |
263 | 268 | | |
| |||
0 commit comments