GUI: fix Sonar issues
This commit is contained in:
parent
c102670c3f
commit
ecbea6d9d8
|
@ -8,7 +8,7 @@ struct cbSymbolEnumCtx
|
||||||
{
|
{
|
||||||
const SYMBOLMODULEINFO* module;
|
const SYMBOLMODULEINFO* module;
|
||||||
std::vector<SymbolInfo>* symbols;
|
std::vector<SymbolInfo>* symbols;
|
||||||
} ;
|
};
|
||||||
|
|
||||||
static void cbSymbolEnum(SYMBOLINFO* info, void* user)
|
static void cbSymbolEnum(SYMBOLINFO* info, void* user)
|
||||||
{
|
{
|
||||||
|
|
|
@ -279,7 +279,6 @@ void StdTable::expandDown()
|
||||||
|
|
||||||
if(wRowIndex > mSelection.toIndex)
|
if(wRowIndex > mSelection.toIndex)
|
||||||
{
|
{
|
||||||
mSelection.fromIndex = mSelection.fromIndex;
|
|
||||||
mSelection.firstSelectedIndex = wRowIndex;
|
mSelection.firstSelectedIndex = wRowIndex;
|
||||||
mSelection.toIndex = wRowIndex;
|
mSelection.toIndex = wRowIndex;
|
||||||
|
|
||||||
|
@ -288,7 +287,6 @@ void StdTable::expandDown()
|
||||||
{
|
{
|
||||||
mSelection.fromIndex = wRowIndex;
|
mSelection.fromIndex = wRowIndex;
|
||||||
mSelection.firstSelectedIndex = wRowIndex;
|
mSelection.firstSelectedIndex = wRowIndex;
|
||||||
mSelection.toIndex = mSelection.toIndex ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ QString formatLoop(const QVector<byte_t>* bytes, int itemsPerLine, QString(*form
|
||||||
{
|
{
|
||||||
QString data;
|
QString data;
|
||||||
int count = bytes->size() / sizeof(T);
|
int count = bytes->size() / sizeof(T);
|
||||||
for(int i = 0; i < count ; i++)
|
for(int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
if(i)
|
if(i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -108,7 +108,7 @@ private:
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
QAction* action;
|
QAction* action;
|
||||||
QMenu* menu ;
|
QMenu* menu;
|
||||||
MenuBuilder* builder;
|
MenuBuilder* builder;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue