diff --git a/app/ConfigureFormatDialog.cpp b/app/ConfigureFormatDialog.cpp index 45a2984..5ddcce7 100644 --- a/app/ConfigureFormatDialog.cpp +++ b/app/ConfigureFormatDialog.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "lib/PlaYUVerFrame.h" @@ -266,7 +267,7 @@ ConfigureFormatDialog::ConfigureFormatDialog( QWidget *parent ) : } -Int ConfigureFormatDialog::runConfigureFormatDialog( QString Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, +Int ConfigureFormatDialog::runConfigureFormatDialog( const QString& Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, UInt& rFrameRate ) { // Set default values diff --git a/app/ConfigureFormatDialog.h b/app/ConfigureFormatDialog.h index 3eefb8d..fc78f3b 100644 --- a/app/ConfigureFormatDialog.h +++ b/app/ConfigureFormatDialog.h @@ -27,7 +27,6 @@ #include #include -#include #include "PlaYUVerAppDefs.h" @@ -35,6 +34,7 @@ class QComboBox; class QHBoxLayout; class QLabel; class QSpinBox; +class QString; class QWidget; /** @@ -47,7 +47,7 @@ Q_OBJECT public: ConfigureFormatDialog( QWidget *parent = 0 ); - Int runConfigureFormatDialog( QString Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, UInt& rFrameRate ); + Int runConfigureFormatDialog( const QString& Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, UInt& rFrameRate ); private Q_SLOTS: void slotStandardResolutionSelected( int );