fix the stop slot, remove some redundant debug and cvs ignore
git-svn-id: svn://10.0.0.236/trunk@166367 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user