author | alwin <alwin> | 2004-03-02 19:39:28 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-02 19:39:28 (UTC) |
commit | 65497ae2d9fa41173930748dc104d00706268c41 (patch) (side-by-side diff) | |
tree | 0f45ddf8339245f95f788885ad3378f63dc71963 | |
parent | db1615def104b2637d9404ac0f1e3790a8d7731f (diff) | |
download | opie-65497ae2d9fa41173930748dc104d00706268c41.zip opie-65497ae2d9fa41173930748dc104d00706268c41.tar.gz opie-65497ae2d9fa41173930748dc104d00706268c41.tar.bz2 |
fix so it will compile with gcc2 toolchain
-rw-r--r-- | core/opie-login/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp index 8d0976f..6aa7287 100644 --- a/core/opie-login/main.cpp +++ b/core/opie-login/main.cpp @@ -165,5 +165,6 @@ int main ( int argc, char **argv ) app-> setStyle ( new QPEStyle ( )); - const char *sig = ::strsignal ( killedbysig ); +// const char *sig = ::strsignal ( killedbysig ); + const char *sig = ::sys_siglist[killedbysig]; QLabel *l = new QLabel ( 0, "sig", Qt::WStyle_Customize | Qt::WStyle_NoBorder | Qt::WStyle_Tool ); l-> setText ( LoginWindowImpl::tr( "Opie was terminated\nby an uncaught signal\n(%1)\n" ). arg ( sig )); |