~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/miscellaneous.cpp

  • Committer: Adam Reichold
  • Date: 2013-08-03 11:06:13 UTC
  • Revision ID: adamreichold@myopera.com-20130803110613-wxyup16mm7zoaxy9
small fix to drawing the search progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
    QPainter painter(this);
224
224
 
225
225
    painter.setCompositionMode(QPainter::CompositionMode_Multiply);
226
 
    painter.fillRect(x(), y(), m_progress * width() / 100, height(), palette().highlight());
 
226
    painter.fillRect(0, 0, m_progress * width() / 100, height(), palette().highlight());
227
227
}
228
228
 
229
229
void ProgressLineEdit::keyPressEvent(QKeyEvent* event)