qnli question: What country made gains in the Treaty of Hubertusburg? sentence: The treaty simply restored the status quo of 1748, with Silesia and Glatz reverting to Frederick and Saxony to its own elector.