ui: Fixed exporting images from the graph resulted in too large images (issue #511)
* Fixed style issue in save dialog on Linux * Fixed wrong dialog used on Mac and Windows * Improved image quality bug id = 511
This commit is contained in:
@@ -51,7 +51,7 @@ QString QtFileDialog::getOpenFileName(QWidget* parent, const QString& caption, c
|
||||
QString QtFileDialog::showSaveFileDialog(
|
||||
QWidget *parent, const QString& title, const QString& directory, const QString& filter)
|
||||
{
|
||||
#if defined(Q_WS_WIN) || defined(Q_WS_MAC)
|
||||
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
|
||||
|
||||
return QFileDialog::getSaveFileName(parent, title, directory, filter);
|
||||
|
||||
@@ -92,7 +92,7 @@ QString QtFileDialog::showSaveFileDialog(
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
#endif // Q_WS_MAC || Q_WS_WIN
|
||||
#endif // Q_OS_MAC || Q_OS_WIN
|
||||
}
|
||||
|
||||
QString QtFileDialog::getDir(QString dir)
|
||||
|
||||
Reference in New Issue
Block a user