зеркало из https://github.com/mozilla/gecko-dev.git
fix the stop slot, remove some redundant debug and cvs ignore
This commit is contained in:
Родитель
f119e6962c
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче