From 652906c3834aeafec2f242866a6d451e9894deff Mon Sep 17 00:00:00 2001 From: w1z7ard Date: Mon, 21 Jan 2008 22:43:34 +0000 Subject: [PATCH] nonexistant bug fixed git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@758 6778bc44-b910-0410-a7a0-be141de4315d --- src/qprojectM-pulseaudio/QPulseAudioDeviceChooser.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/qprojectM-pulseaudio/QPulseAudioDeviceChooser.cpp b/src/qprojectM-pulseaudio/QPulseAudioDeviceChooser.cpp index 241aea555..e93ee970f 100644 --- a/src/qprojectM-pulseaudio/QPulseAudioDeviceChooser.cpp +++ b/src/qprojectM-pulseaudio/QPulseAudioDeviceChooser.cpp @@ -45,16 +45,14 @@ QPulseAudioDeviceChooser::QPulseAudioDeviceChooser ( QPulseAudioThread * qpulseA setupUi ( this ); readSettings(); - qDebug() << "setting model"; this->devicesListView->setModel ( &_qpulseAudioDeviceModel ); -// void QAbstractItemView::selectionChanged ( const QItemSelection & selected, const QItemSelection & deselected ) [virtual protected slot] - connect ( tryFirstPlayBackMonitorCheckBox, SIGNAL(stateChanged(int)), this, SLOT(updateDevicesListViewLock(int))); /// @bug wrong! should be based on HASH index, not display index + /// @bug wait! it's ok because we are piping the text, not the device index to the connect method! connect ( devicesListView, SIGNAL ( doubleClicked ( const QModelIndex& ) ), _qpulseAudioThread, SLOT ( connectDevice ( const QModelIndex& ) ) ); - //connect(buttonBox, SIGNAL(accepted()), _qpulseAudioThread, SLOT(connectDevice(device)); + } void QPulseAudioDeviceChooser::open()