Ignore:
Timestamp:
Feb 25, 2008, 11:16:08 PM (17 years ago)
Author:
dmik
Message:

styles/Warp4: Remove '&' from tab's caption when drawing it in the tab pane's header (#9).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/styles/qwarp4style.cpp

    r178 r179  
    13571357        y = (r.top() + r.bottom() + fr.height()) / 2 - 2;
    13581358
    1359     p.drawText(x, y, caption());
     1359    QString cap = caption();
     1360    cap.remove (cap.find ('&'), 1);
     1361    p.drawText(x, y, cap);
    13601362
    13611363    QPoint pt1l, pt1r, pt2l, pt2r;
Note: See TracChangeset for help on using the changeset viewer.