~ubuntu-branches/ubuntu/edgy/kopete/edgy-updates

« back to all changes in this revision

Viewing changes to kopete/libkopete/avdevice/videodevicepool.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2006-10-09 14:55:32 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20061009145532-91lvzoe1hag8d6hq
Tags: 4:3.5.5+kopete0.12.3-0ubuntu1
* New upstream release
* Removed obsolete kubuntu_02_hostname_for_freenode.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
808
808
                        const QString modelindex = QString::fromLocal8Bit ( "Model %1 Device %2")  .arg ((*vditerator).m_name ) .arg ((*vditerator).m_modelindex);
809
809
                        if(modelindex == currentdevice)
810
810
                        {
811
 
                                m_current_device = std::distance (m_videodevice.begin(), vditerator);
812
 
//                              kdDebug() << k_funcinfo << "This place will be used to set " << modelindex << " as the current device ( " << std::distance(m_videodevice.begin(), vditerator ) << " )." << endl;
 
811
                                m_current_device = vditerator - m_videodevice.begin();
 
812
//                              kdDebug() << k_funcinfo << "This place will be used to set " << modelindex << " as the current device ( " << (vditerator - m_videodevice.begin()) << " )." << endl;
813
813
                        }
814
814
                        const QString name                = config->readEntry((QString::fromLocal8Bit ( "Model %1 Device %2 Name")  .arg ((*vditerator).m_name ) .arg ((*vditerator).m_modelindex)), (*vditerator).m_model);
815
815
                        const int currentinput            = config->readNumEntry((QString::fromLocal8Bit ( "Model %1 Device %2 Current input")  .arg ((*vditerator).m_name ) .arg ((*vditerator).m_modelindex)), 0);