#1599 Do not use file extention in getSaveFilename() as this causes issues on KDE desktop

This commit is contained in:
Magne Sjaastad 2017-06-19 10:48:47 +02:00
parent bd3d060c96
commit 31bde3eb9a

View File

@ -146,7 +146,7 @@ void RicSnapshotViewToFileFeature::onActionTriggered(bool isChecked)
startPath += "/image.png";
QString fileName = QFileDialog::getSaveFileName(NULL, tr("Export to File"), startPath, tr("Image files (*.bmp *.png * *.jpg)"));
QString fileName = QFileDialog::getSaveFileName(NULL, tr("Export to File"), startPath);
if (fileName.isEmpty())
{
return;