diff options
author | Laszlo Papp <lpapp@kde.org> | 2013-11-23 23:45:36 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-24 20:07:40 +0100 |
commit | 671c23c662e7f7eeaac796517448d12fb019d853 (patch) | |
tree | d3b08ed92ed1b82a6bd06c391b316c3b79b0665b /src/serialport/qserialportinfo_mac.cpp | |
parent | b261bfe1b56ae1ec21d4eb284facb63463c7e948 (diff) | |
download | qtserialport-671c23c662e7f7eeaac796517448d12fb019d853.tar.gz |
Remove the unnecessary and noisy comments for the serial port info files
Comments are noisy, useless, and can get outdated. The only comments that might
make sense to me the ones where we note future tasks, such as TODO (or FIXME).
The code should document itself.
The serial port files need a separate evaluation since a lot of stuff is
inherited from QtCore in there where the comments should probably be kept for
consistency.
Change-Id: I6c759c7138f64546c2c4e27a039667c556a30db9
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialportinfo_mac.cpp')
-rw-r--r-- | src/serialport/qserialportinfo_mac.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/serialport/qserialportinfo_mac.cpp b/src/serialport/qserialportinfo_mac.cpp index af57598..c69a4a3 100644 --- a/src/serialport/qserialportinfo_mac.cpp +++ b/src/serialport/qserialportinfo_mac.cpp @@ -97,7 +97,6 @@ QList<QSerialPortInfo> QSerialPortInfo::availablePorts() io_registry_entry_t entry = service; - // Find MacOSX-specific properties names. do { if (!device) { @@ -184,7 +183,6 @@ QList<QSerialPortInfo> QSerialPortInfo::availablePorts() } - // If all matching properties is found, then force break loop. if (matchingPropertiesCounter == propertyCount) break; @@ -194,7 +192,6 @@ QList<QSerialPortInfo> QSerialPortInfo::availablePorts() (void) ::IOObjectRelease(entry); - // Convert from MacOSX-specific properties to Qt4-specific. if (matchingPropertiesCounter > 0) { QSerialPortInfo serialPortInfo; |