It certainly helped to popularize it, but it wasn't the first. From what I understand, Poul Anderson's Three Hearts and Three Lions from 1953 already featured a dwarf with a Scottish accent. Dragonlance's Flint Fireforge and Salvatore's Bruenor Battlehammer also predate Warcraft.