QString tempDir = QDesktopServices::storageLocation(QDesktopServices::TempLocation);
#ifdef Q_WS_X11
QString tempFile = tempDir + "/minitube-" + getenv("USERNAME") + ".mp4";
QString tempFile = tempDir + "/minitube-" + getenv("USER") + ".mp4";
#else
QString tempFile = tempDir + "/minitube.mp4";
#endif