Ignore:
Timestamp:
Aug 12, 2009, 10:18:10 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Added mouse event translation, various message handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qwidget_pm.cpp

    r106 r108  
    857857
    858858    if (flags & Qt::WindowTitleHint) {
    859         title = topLevel ? qAppName().toLocal8Bit() : q->objectName().toLocal8Bit();
     859        QString t = topLevel ? qAppName() : q->objectName();
     860        t = t.left(1).toUpper() + t.mid(1).toLower();
     861        title = t.toLocal8Bit();
    860862    }
    861863
     
    11861188}
    11871189
     1190QCursor *qt_grab_cursor()
     1191{
     1192    return mouseGrbCur;
     1193}
     1194
    11881195void QWidget::grabMouse()
    11891196{
Note: See TracChangeset for help on using the changeset viewer.