Replaced dirent.h with QDir and feh with QGraphics