Remove an unneeded argument from FrameLoaderClient::download
[WebKit-https.git] / Source / WebKit / qt / WebCoreSupport / QtWebComboBox.cpp
index b6347fc..f52465f 100644 (file)
@@ -24,8 +24,8 @@
 
 #ifndef QT_NO_COMBOBOX
 
-#include <QtGui/QAbstractItemView>
-#include <QtGui/QApplication>
+#include <QAbstractItemView>
+#include <QCoreApplication>
 #include <QtGui/QMouseEvent>
 
 namespace WebCore {
@@ -43,7 +43,7 @@ void QtWebComboBox::showPopupAtCursorPosition()
 {
     QMouseEvent event(QEvent::MouseButtonPress, QCursor::pos(), Qt::LeftButton,
                       Qt::LeftButton, Qt::NoModifier);
-    QApplication::sendEvent(this, &event);
+    QCoreApplication::sendEvent(this, &event);
 }
 
 bool QtWebComboBox::eventFilter(QObject* watched, QEvent* event)