Bug 626595 - Make it possible to build maemo 6 platform version without meegotouch r=romaxa,ted.mielczarek a=approval2.0
This commit is contained in:
@@ -75,8 +75,10 @@
|
||||
#if (MOZ_PLATFORM_MAEMO == 6)
|
||||
#include <QUrl>
|
||||
#include <QString>
|
||||
#if (MOZ_ENABLE_CONTENTACTION)
|
||||
#include <contentaction/contentaction.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
#include "nsCRT.h"
|
||||
@@ -1899,7 +1901,7 @@ nsLocalFile::Launch()
|
||||
|
||||
return NS_ERROR_FAILURE;
|
||||
#endif
|
||||
#elif (MOZ_PLATFORM_MAEMO == 6)
|
||||
#elif defined(MOZ_ENABLE_CONTENTACTION)
|
||||
QUrl uri = QUrl::fromLocalFile(QString::fromUtf8(mPath.get()));
|
||||
ContentAction::Action action =
|
||||
ContentAction::Action::defaultActionForFile(uri);
|
||||
|
||||
Reference in New Issue
Block a user