reassign 309477 libqt3c102-mt
thanks

I was able to track down the problem. QPushButton::setAccel("Alt+L") or any
other setAccel method ends up in an infinite loop if the locale is es.
Running the attached program with
$ LANG=es ./program
shows this error. No other locale has this error.

Please adapt the path to the Qt3 translations if necessary.

libqt3c102-mt    3.3.4-3

-- 
Torsten Marek <[EMAIL PROTECTED]>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

#include <qapplication.h>
#include <qtranslator.h>
#include <qpushbutton.h>
#include <qstring.h>
#include <qtextcodec.h>
#include <iostream>

int main(int argc, char** argv) 
{
    QApplication app(argc, argv);
    QTranslator trans;
    bool l = trans.load(QString("qt_%1").arg(QTextCodec::locale()), "/usr/share/qt3/translations");
    if(l) {
        app.installTranslator(&trans);
    }
    QPushButton pb(NULL);
    pb.setAccel(QKeySequence("Alt+L"));
    app.setMainWidget(&pb);
    pb.show();
    return app.exec();
}

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to