Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/demos/spectrum/app/spectrumanalyser.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    6565{
    6666#ifdef SPECTRUM_ANALYSER_SEPARATE_THREAD
     67    // moveToThread() cannot be called on a QObject with a parent
     68    setParent(0);
    6769    moveToThread(m_thread);
    6870    m_thread->start();
     
    125127    m_fft->calculateFFT(m_output.data(), m_input.data());
    126128
    127     // Analyse output to obtain amplitude and phase for each frequency
     129    // Analyze output to obtain amplitude and phase for each frequency
    128130    for (int i=2; i<=m_numSamples/2; ++i) {
    129131        // Calculate frequency of this complex sample
Note: See TracChangeset for help on using the changeset viewer.