mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-14 05:11:25 -08:00
revisions
This commit is contained in:
parent
c7d631697a
commit
45d6984bec
5 changed files with 12 additions and 10 deletions
|
|
@ -360,8 +360,8 @@ cl_object qexec2(cl_object l_milliseconds) {
|
|||
/// after which QEventLoop::exit() will be called. See also QSLEEP.
|
||||
ecl_process_env()->nvalues = 1;
|
||||
if (l_milliseconds != ECL_NIL) {
|
||||
static QTimer* timer = 0;
|
||||
if (!timer) {
|
||||
static QTimer* timer = nullptr;
|
||||
if (timer == nullptr) {
|
||||
timer = new QTimer;
|
||||
LQML::eventLoop = new QEventLoop;
|
||||
timer->setSingleShot(true);
|
||||
|
|
@ -815,7 +815,7 @@ cl_object qapropos2(cl_object l_search, cl_object l_obj, cl_object l_no_offset)
|
|||
search = toCString(l_search);
|
||||
}
|
||||
bool no_offset = (l_no_offset != ECL_NIL); // for QML (all instance properties)
|
||||
const QMetaObject* mo = 0;
|
||||
const QMetaObject* mo = nullptr;
|
||||
QObject* obj = toQObjectPointer(l_obj);
|
||||
if (obj != nullptr) {
|
||||
mo = obj->metaObject();
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ QVariant Lisp::call(const QJSValue& caller_or_function,
|
|||
const QJSValue& arg14,
|
||||
const QJSValue& arg15,
|
||||
const QJSValue& arg16) {
|
||||
QObject* caller = 0;
|
||||
QObject* caller = nullptr;
|
||||
QString function;
|
||||
QVariantList arguments;
|
||||
if (caller_or_function.isQObject()) {
|
||||
|
|
@ -97,7 +97,7 @@ QVariant Lisp::call(const QJSValue& caller_or_function,
|
|||
QVariant Lisp::apply(const QJSValue& caller_or_function,
|
||||
const QJSValue& function_or_arguments,
|
||||
const QJSValue& arguments_or_undefined) {
|
||||
QObject* caller = 0;
|
||||
QObject* caller = nullptr;
|
||||
QString function;
|
||||
QVariantList arguments;
|
||||
if (caller_or_function.isQObject()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue