summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-04-12 10:19:19 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-04-12 10:20:01 (GMT)
commitf5bde58801fb2f38404a1ecfd5b006d5d627ee96 (patch)
tree575712f4cef148214428816b18212a234a0f811e /src/3rdparty/phonon
parentaab30e9a3ec78c3a9b2998feeef275e973ef0ff2 (diff)
downloadQt-f5bde58801fb2f38404a1ecfd5b006d5d627ee96.zip
Qt-f5bde58801fb2f38404a1ecfd5b006d5d627ee96.tar.gz
Qt-f5bde58801fb2f38404a1ecfd5b006d5d627ee96.tar.bz2
Build fix
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r--src/3rdparty/phonon/ds9/mediaobject.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/3rdparty/phonon/ds9/mediaobject.cpp b/src/3rdparty/phonon/ds9/mediaobject.cpp
index b8ef93b..d640956 100644
--- a/src/3rdparty/phonon/ds9/mediaobject.cpp
+++ b/src/3rdparty/phonon/ds9/mediaobject.cpp
@@ -820,21 +820,11 @@ namespace Phonon
#endif
LPAMGETERRORTEXT getErrorText = (LPAMGETERRORTEXT)QLibrary::resolve(QLatin1String("quartz"), "AMGetErrorTextW");
-<<<<<<< HEAD:src/3rdparty/phonon/ds9/mediaobject.cpp
WCHAR buffer[MAX_ERROR_TEXT_LEN];
if (getErrorText && getErrorText(hr, buffer, MAX_ERROR_TEXT_LEN)) {
m_errorString = QString::fromWCharArray(buffer);
} else {
m_errorString = QString::fromLatin1("Unknown error");
-=======
- ushort buffer[MAX_ERROR_TEXT_LEN];
- if (getErrorText && getErrorText(hr, (WCHAR*)buffer, MAX_ERROR_TEXT_LEN)) {
- m_errorString = QString::fromUtf16(buffer);
-#ifdef Q_CC_MSVC
- } else {
- m_errorString = QString::fromUtf16((ushort*)_com_error(hr).ErrorMessage());
-#endif
->>>>>>> internal-qt-repo/4.7:src/3rdparty/phonon/ds9/mediaobject.cpp
}
const QString comError = QString::number(uint(hr), 16);
if (!m_errorString.toLower().contains(comError.toLower())) {