No motion to quash any panel of petit jurors may be made because of any relationship, connection, or other disqualification on the part of the jury commissioners, or any of them, who made up the jury box, unless notice of the motion in writing is given at least ten days before the convening of any court to the adverse party, or his attorney setting forth the ground for the making of the motion. Failure to give notice is considered a waiver of all rights.