Fixed test order, on RegsExplorer::addDev, must check pointer before members.
Alexis Jeandet -
r111:f5779f536b0f 0.6 draft
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -1,4 +1,4
1 1 1cb664ab4bb3c531d706b1948a378ed9810c0dda src/SocExplorerEngine/PeripheralWidget
2 1f143e4ae72a0bb4832b546eb76eb50e94049b80 src/common/genericBinaryFiles
2 eee9d5c97f55f377210426c1688224e9adc3dd8d src/common/genericBinaryFiles
3 3 2b353bf8243cbfb3db44e196f33bd164c11c9949 src/common/lppserial
4 4 923afde9cc96bb419cf898560d080ec96991aeca src/common/qhexedit
@@ -18,7 +18,7
18 18
19 19 void RegsExplorer::addDev(socExplorerEnumDevice *device)
20 20 {
21 if((delegate.device->sameSoc(device))||(delegate.device==NULL))
21 if((delegate.device==NULL)||(delegate.device->sameSoc(device)))
22 22 {
23 23 delegate.device = device;
24 24 peripheralWidget* peripheral=new peripheralWidget(device->name(),device->baseAddress(),&delegate,this);
Comments 0
You need to be logged in to leave comments. Login now