6. The Tools in the Toolbox / 6.2 Tools for All Kind of Layers
The Straighten tool is a simple and fast way to straighten images. You just have to drag a line and PhotoLine will rotate the image, so that line will become horizontal or vertical.