Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:justforbetter
mytest3
use_maemo_definition.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use_maemo_definition.patch of Package mytest3
--- a/src/launcher.cpp +++ b/src/launcher.cpp @@ -10,15 +10,7 @@ #include "launcher.h" #include "mainwindow.h" -// lame attempt to differentiate between host and device builds -// info acquired by executing 'mad gcc -dM -E - </dev/null'... -#if __ARMEL__ -#define MAEMO 1 -#else -#define MAEMO 0 -#endif - -#if MAEMO +#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6) #include <QAbstractKineticScroller> #endif @@ -106,7 +98,7 @@ void Launcher::showHelp(void) // one-shot; no need to create separate constructor function... m_helpwindow->setReadOnly(true); m_helpwindow->setHtml(in.readAll()); -#if MAEMO +#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6) QAbstractKineticScroller *scroller = m_helpwindow->property("kineticScroller") .value<QAbstractKineticScroller *>();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor