~ubuntu-branches/ubuntu/lucid/kdebase/lucid

« back to all changes in this revision

Viewing changes to apps/kwrite/kwritemain.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2009-07-31 17:52:40 UTC
  • mfrom: (1.1.31 upstream)
  • Revision ID: james.westby@ubuntu.com-20090731175240-vlmkqfc53k597soz
Tags: 4:4.3.0-0ubuntu1
* New upstream release
* Remove kubuntu_17_startup_notification.diff, applied upstream
* Add kubuntu_17_abort_string.diff, Closes LP: #389751

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
void KWrite::setupStatusBar()
197
197
{
198
198
  // statusbar stuff
 
199
  QString lineColText = i18nc("@info:status Statusbar label for cursor line and column position",
 
200
    " Line: %1 Col: %2 ", 4444, 44);
 
201
 
199
202
  m_lineColLabel = new QLabel( statusBar() );
 
203
  m_lineColLabel->setMinimumWidth( m_lineColLabel->fontMetrics().width( lineColText ) );
200
204
  statusBar()->addWidget( m_lineColLabel, 0 );
201
 
  m_lineColLabel->setAlignment( Qt::AlignCenter );
202
205
 
203
206
  m_modifiedLabel = new QLabel( statusBar() );
204
207
  m_modifiedLabel->setFixedSize( 16, 16 );