Bug 722042 - Part 4: Remove Qt code from mobile/android. r=blassey

This commit is contained in:
Chris Peterson
2012-07-10 16:58:56 -07:00
parent aeaf89a3b3
commit dc191c0518
2 changed files with 0 additions and 16 deletions

View File

@@ -3,11 +3,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifdef MOZ_WIDGET_QT
#include <QtGui/QApplication>
#include <QtGui/QWidget>
#endif
#include "nsShellService.h"
#include "nsString.h"
@@ -18,14 +13,7 @@ NS_IMPL_ISUPPORTS1(nsShellService, nsIShellService)
NS_IMETHODIMP
nsShellService::SwitchTask()
{
#if MOZ_WIDGET_QT
QWidget * window = QApplication::activeWindow();
if (window)
window->showMinimized();
return NS_OK;
#else
return NS_ERROR_NOT_IMPLEMENTED;
#endif
}
NS_IMETHODIMP