In sub-attack an interview, one can't make two implicit conversions at
once, so explicitly convert to the right type.
The change in the torrent example is required because of
https://codereview.qt-project.org/16168 (commit
|
||
|---|---|---|
| .. | ||
| forms | ||
| icons | ||
| addtorrentdialog.cpp | ||
| addtorrentdialog.h | ||
| bencodeparser.cpp | ||
| bencodeparser.h | ||
| connectionmanager.cpp | ||
| connectionmanager.h | ||
| filemanager.cpp | ||
| filemanager.h | ||
| icons.qrc | ||
| main.cpp | ||
| mainwindow.cpp | ||
| mainwindow.h | ||
| metainfo.cpp | ||
| metainfo.h | ||
| peerwireclient.cpp | ||
| peerwireclient.h | ||
| ratecontroller.cpp | ||
| ratecontroller.h | ||
| torrent.desktop | ||
| torrent.pro | ||
| torrentclient.cpp | ||
| torrentclient.h | ||
| torrentserver.cpp | ||
| torrentserver.h | ||
| trackerclient.cpp | ||
| trackerclient.h | ||