diff --git a/src/ui/articleview.cc b/src/ui/articleview.cc index b160610d..628cb24a 100644 --- a/src/ui/articleview.cc +++ b/src/ui/articleview.cc @@ -1767,8 +1767,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos ) if ( name.length() && name[ name.length() - 1 ] == '\x1F' ) name.chop( 1 ); - fileName = QString::number( QRandomGenerator::global()->generate() ) + name; - + fileName = QDir::temp().filePath( QString::number( QRandomGenerator::global()->generate() ) + name ); if ( !fileName.isEmpty() ) { QFileInfo fileInfo( fileName );