Fix file path bug in audiorecorder example
authorAndy Nichols <andy.nichols@digia.com>
Thu, 11 Apr 2013 23:20:06 +0000 (16:20 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Apr 2013 11:38:43 +0000 (13:38 +0200)
commit315bcd075816465e57e703290b0b1404af2ae7c9
tree1714ca2cae1f74a3d263a6d992c3fe4570f21736
parentf2af807c5bef83a6b0f79b3adacae72d8be5b1ad
Fix file path bug in audiorecorder example

Default path and name of the output wave audio files were wrong.  This
means the files did not have the right name to be opened on Windows, and
did not have the right path because they were being saved to the root
folder. (C:/ on windows, and / on OSX).  Now we fall back to the default
filepath and name when we try to record without giving a path and
filename.

Task-number: QTBUG-28663
Change-Id: I8c782a31710cac65cd3c1ecd44de10b41c46e93d
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
examples/multimedia/audiorecorder/audiorecorder.cpp
examples/multimedia/audiorecorder/audiorecorder.h