Minor compiler warning cleanup
This commit is contained in:
parent
a4dbabfcc5
commit
9b6ab85424
|
@ -5298,7 +5298,10 @@ bool QAsmView::event(QEvent *event)
|
|||
addr, bank, romOfs );
|
||||
}
|
||||
|
||||
static_cast<asmLookAheadPopup*>(fceuCustomToolTipShow( helpEvent->globalPos(), new asmLookAheadPopup(addr, this) ));
|
||||
if ( static_cast<asmLookAheadPopup*>(fceuCustomToolTipShow( helpEvent->globalPos(), new asmLookAheadPopup(addr, this) )) == NULL )
|
||||
{
|
||||
printf("ASM Lookahead Popup Error\n");
|
||||
}
|
||||
//QToolTip::showText(helpEvent->globalPos(), tr(stmp), this );
|
||||
QToolTip::hideText();
|
||||
event->ignore();
|
||||
|
|
|
@ -6261,7 +6261,7 @@ void QPianoRoll::paintEvent(QPaintEvent *event)
|
|||
FCEU_CRITICAL_SECTION( emuLock );
|
||||
int x, y, row, nrow, lineNum;
|
||||
QPainter painter(this);
|
||||
QColor white(255,255,255), black(0,0,0), blkColor, rowTextColor, hdrGridColor;
|
||||
QColor /*white(255,255,255),*/ black(0,0,0), blkColor, rowTextColor, hdrGridColor;
|
||||
static const char *buttonNames[] = { "A", "B", "S", "T", "U", "D", "L", "R", NULL };
|
||||
char stmp[32];
|
||||
char rowIsSel=0;
|
||||
|
|
|
@ -525,7 +525,7 @@ void BOOKMARKS::paintEvent(QPaintEvent *event)
|
|||
FCEU_CRITICAL_SECTION( emuLock );
|
||||
QPainter painter(this);
|
||||
int x, y, item, cell_y;
|
||||
QColor white(255,255,255), black(0,0,0), blkColor;
|
||||
QColor white(255,255,255), /*black(0,0,0),*/ blkColor;
|
||||
char txt[256];
|
||||
bool timeColBgDone = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue