mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
fix the stop slot, remove some redundant debug and cvs ignore
This commit is contained in:
parent
f119e6962c
commit
6fcb32b823
@ -417,9 +417,7 @@ QGeckoEmbed::reload(ReloadFlags flags)
|
||||
bool
|
||||
QGeckoEmbed::domKeyDownEvent(nsIDOMKeyEvent *keyEvent)
|
||||
{
|
||||
qDebug("key event start");
|
||||
emit domKeyDown(keyEvent);
|
||||
qDebug("key event stop");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -434,7 +432,6 @@ bool
|
||||
QGeckoEmbed::domKeyUpEvent(nsIDOMKeyEvent *keyEvent)
|
||||
{
|
||||
emit domKeyUp(keyEvent);
|
||||
qDebug("key release event stop");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -3,3 +3,4 @@ Makefile
|
||||
TestQGeckoEmbed
|
||||
mainwindow
|
||||
moc_*.cpp
|
||||
uiimg_collection.cpp
|
||||
|
@ -34,7 +34,7 @@ MyMainWindow::MyMainWindow()
|
||||
|
||||
action = new QAction(QPixmap::fromMimeSource( "stop.png" ), tr("Stop"), CTRL + Key_S,
|
||||
toolbar, "stop");
|
||||
connect(action, SIGNAL(activated()), this, SLOT(stopLoad()));
|
||||
connect(action, SIGNAL(activated()), this, SLOT(stop()));
|
||||
action->addTo(toolbar);
|
||||
|
||||
location = new QLineEdit(toolbar);
|
||||
|
Loading…
Reference in New Issue
Block a user