author | mickeyl <mickeyl> | 2004-04-23 10:29:00 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-23 10:29:00 (UTC) |
commit | d84d16cffe92bfafc5f2433f646dcfa00e6cd7f6 (patch) (side-by-side diff) | |
tree | 6111ac63519b629e12f818b52a8d8bf1515b46c6 /library/global.cpp | |
parent | 448732c964768b5be8677a95aa1f9b07bad9e8a2 (diff) | |
download | opie-d84d16cffe92bfafc5f2433f646dcfa00e6cd7f6.zip opie-d84d16cffe92bfafc5f2433f646dcfa00e6cd7f6.tar.gz opie-d84d16cffe92bfafc5f2433f646dcfa00e6cd7f6.tar.bz2 |
gcc 3.4 fixlet
-rw-r--r-- | library/global.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/global.cpp b/library/global.cpp index 5ac969b..ec87555 100644 --- a/library/global.cpp +++ b/library/global.cpp @@ -550,49 +550,49 @@ void Global::invoke(const QString &c) // XXX should unlock file /tmp/qcop-msg-ap //see if it is being started if ( StartingAppList::isStarting( ap ) ) { // FIXME take it out for now, since it leads to a much to short showing of wait if // some entry is clicked. // Real cause is that ::execute is called twice for document tab. But it would need some larger changes // to fix that, and with future syncs with qtopia 1.6 it will change anyway big time since somebody there // had the idea that an apploader belongs to the launcher ... //QCopEnvelope e("QPE/System", "notBusy(QString)" ); //e << ap; return; } #endif #ifdef QT_NO_QWS_MULTIPROCESS QMessageBox::warning( 0, "Error", "Could not find the application " + c, "Ok", 0, 0, 0, 1 ); #else QStrList slist; unsigned int j; for ( j = 0; j < list.count(); j++ ) slist.append( list[j].utf8() ); - const char **args = new (const char *)[slist.count() + 1]; + const char **args = new const char *[slist.count() + 1]; for ( j = 0; j < slist.count(); j++ ) args[j] = slist.at(j); args[j] = NULL; #if !defined(QT_NO_COP) // an attempt to show a wait... // more logic should be used, but this will be fine for the moment... QCopEnvelope ( "QPE/System", "busy()" ); #endif #ifdef HAVE_QUICKEXEC #ifdef Q_OS_MACX QString libexe = qpeDir()+"/binlib/lib"+args[0] + ".dylib"; #else QString libexe = qpeDir()+"/binlib/lib"+args[0] + ".so"; #endif qDebug("libfile = %s", libexe.latin1() ); if ( QFile::exists( libexe ) ) { qDebug("calling quickexec %s", libexe.latin1() ); quickexecv( libexe.utf8().data(), (const char **)args ); } else #endif { bool success = false; |