Economic hardship such as that after wars allows nationalistic far right parties to gain power as stoking up hatred against whatever bogeyman is convenient is an easy way to get votes from the stupid/bigoted part of the population. But without a leader as 'charismatic' as Hitler the national Socialists may not have even gained power led alone started WWII.
So without either Hitler or WWI, WWII would not have happened.