MessageBoxRaised::critical(0,tr("I/O Error"),tr("The torrent file does not exist."));
MessageBoxRaised::critical(0,tr("I/O Error"),tr("The torrent file '%1' does not exist.").arg(Utils::Fs::toNativePath(m_filePath)));
returnfalse;
}
QFileInfofileinfo(m_filePath);
if(!fileinfo.isReadable()){
MessageBoxRaised::critical(0,tr("I/O Error"),tr("The torrent file cannot be read from the disk. Probably you don't have enough permissions."));
MessageBoxRaised::critical(0,tr("I/O Error"),tr("The torrent file '%1' cannot be read from the disk. Probably you don't have enough permissions.").arg(Utils::Fs::toNativePath(m_filePath)));
MessageBoxRaised::critical(0,tr("Invalid torrent"),tr("Failed to load the torrent: %1").arg(error));
MessageBoxRaised::critical(0,tr("Invalid torrent"),tr("Failed to load the torrent: %1.\nError: %2","Don't remove the '\n' characters. They insert a newline.").arg(Utils::Fs::toNativePath(m_filePath)).arg(error));