diff options
author | David Faure <faure@kde.org> | 2009-07-16 14:44:55 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-07-16 14:44:55 (GMT) |
commit | ccb7c66e08b1bc4f31a66221cd4e4f8f61a5e462 (patch) | |
tree | 39ce081b896efb0d16d571e16b0300303788c6da /src/3rdparty/phonon/ds9/backend.cpp | |
parent | 5fe6a7457033b183d8cc3861fe8593338ad3385b (diff) | |
download | Qt-ccb7c66e08b1bc4f31a66221cd4e4f8f61a5e462.zip Qt-ccb7c66e08b1bc4f31a66221cd4e4f8f61a5e462.tar.gz Qt-ccb7c66e08b1bc4f31a66221cd4e4f8f61a5e462.tar.bz2 |
Documentation and whitespace fixes in phonon
- fix wrong copy/pasted comments (including the whole docs for isSeekable)
- make docs of Notifier more generic (there are 3 signals, not just one)
- untabify
Merge-request: 875
Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com>
Diffstat (limited to 'src/3rdparty/phonon/ds9/backend.cpp')
-rw-r--r-- | src/3rdparty/phonon/ds9/backend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/ds9/backend.cpp b/src/3rdparty/phonon/ds9/backend.cpp index 245749a..2c56af7 100644 --- a/src/3rdparty/phonon/ds9/backend.cpp +++ b/src/3rdparty/phonon/ds9/backend.cpp @@ -50,7 +50,7 @@ namespace Phonon Backend::Backend(QObject *parent, const QVariantList &) : QObject(parent) { - ::CoInitialize(0); + ::CoInitialize(0); //registering meta types qRegisterMetaType<HRESULT>("HRESULT"); @@ -61,7 +61,7 @@ namespace Phonon { m_audioOutputs.clear(); m_audioEffects.clear(); - ::CoUninitialize(); + ::CoUninitialize(); } QObject *Backend::createObject(BackendInterface::Class c, QObject *parent, const QList<QVariant> &args) @@ -216,7 +216,7 @@ namespace Phonon LPOLESTR str = 0; HRESULT hr = mon->GetDisplayName(0,0, &str); if (SUCCEEDED(hr)) { - QString name = QString::fromUtf16((unsigned short*)str); + QString name = QString::fromUtf16((unsigned short*)str); ComPointer<IMalloc> alloc; ::CoGetMalloc(1, alloc.pparam()); alloc->Free(str); |