Revert "Fix after problem"

This reverts commit a3389f1aa63fd2f103dd1d4bb93e090fd6e6cce6.

Conflicts:
	mainwindow.cpp