Fixed the line length in mainwindow.*