Green’s Dictionary of Slang

quart mania n.

a hangover, delirium tremens.

[UK]Farmer & Henley Sl. and Its Analogues.
[UK]‘William Juniper’ True Drunkard’s Delight 247: Delerium tremens, or [...] quart-mania.
[UK]Partridge DSUE (1984) 945/2: ca. 1860–1910.