diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-10-08 11:18:27 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-10-08 11:18:27 +0800 |
commit | 3032c0021389b2a5211b4a6e5d1c2929ce307bf5 (patch) | |
tree | 4e9ec46dc450358ee2693e3fc3949d6fe2a65b0d /qmidiplayer-desktop/qmpdeviceprioritydialog.cpp | |
parent | dfdd98ae185a46949b668d01fcce3f5f2646970a (diff) | |
download | QMidiPlayer-3032c0021389b2a5211b4a6e5d1c2929ce307bf5.tar.xz |
Continue reducing usage of widgets in QTableWidget.
Diffstat (limited to 'qmidiplayer-desktop/qmpdeviceprioritydialog.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpdeviceprioritydialog.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qmidiplayer-desktop/qmpdeviceprioritydialog.cpp b/qmidiplayer-desktop/qmpdeviceprioritydialog.cpp index a319fd1..d26fb45 100644 --- a/qmidiplayer-desktop/qmpdeviceprioritydialog.cpp +++ b/qmidiplayer-desktop/qmpdeviceprioritydialog.cpp @@ -37,7 +37,6 @@ void qmpDevicePriorityDialog::setupRegisteredDevices() e->setEditable(false); e->setCheckState(Qt::CheckState::Checked); QStandardItem *a=new QStandardItem; - a->setEnabled(false); a->setText(sconn.find(dev.toString().toStdString())!=sconn.end()?"Connected":"Disconnected"); a->setEditable(false); QStandardItem *devn=new QStandardItem(dev.toString()); @@ -53,7 +52,6 @@ void qmpDevicePriorityDialog::setupRegisteredDevices() e->setEditable(false); e->setCheckState(Qt::CheckState::Unchecked); QStandardItem *a=new QStandardItem; - a->setEnabled(false); a->setText("Connected"); a->setEditable(false); QStandardItem *devn=new QStandardItem(QString::fromStdString(dev)); |