mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
bfc0d1575a3c416cbce0e10eb5a16336a50af280
The class member IntervalItem::name is redundant since it is a duplicate of the text() member of the base class QTreeWidgetItem. By removing it we both simplify the code and remove the need to keep name and text in sync when renaming and creating intervals. As a result the itemChanged signal that was connected for renames and then disconnected when the items are cleared can be connected once and no disconnect is neccessary. This connect/disconnect oddity was originally to avoid a SEGV that resulted from accessing text() whilst the QTreeWidgetItem was being destroyed. The code for removing intervals when a new ride is selected no longer destroys and recreats MainWindow::allIntervals (which was also an artefact of the original code to avoid a SEGV).
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%