Bug 722042 - Part 4: Remove Qt code from mobile/android. r=blassey
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user