~mateo-salta/nitroshare/nitroshare

« back to all changes in this revision

Viewing changes to src/sharebox/CShareBox.cpp

  • Committer: Nathan Osman
  • Date: 2012-06-30 18:21:50 UTC
  • Revision ID: admin@quickmediasolutions.com-20120630182150-avavhqs8km192915
New share boxes are now properly positioned when added to the desktop.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
        do
214
214
        {
215
215
            text.truncate(text.length() - 1);
216
 
            bounding_rect = painter.boundingRect(0, 156, 256, 40, Qt::AlignHCenter | Qt::AlignVCenter, text + "...");
 
216
            bounding_rect = painter.boundingRect(0, 156, 256, 40, Qt::AlignHCenter | Qt::AlignVCenter,
 
217
                                                 text + "...");
217
218
 
218
219
        } while(bounding_rect.width() > 240);
219
220