Dont display post with no content

The content is a property of the post object, not of the query object.
Use $post or get_post() :

  if( '' !== get_post()->post_content ) {
    // do something
    }