~ubuntu-branches/ubuntu/maverick/kdegraphics/maverick-proposed

« back to all changes in this revision

Viewing changes to kgamma/kcmkgamma/kgamma.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-12-02 14:03:43 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20091202140343-2732gbkj69g89arq
Tags: 4:4.3.80-0ubuntu1
* New upstream beta release:
  - Add build-depend on shared-desktop-ontologies for nepomuk integration
  - Bump .so versions for libkexiv, libkdcraw and libkipi
  - Update various .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
    for ( int i = 0; i < ScreenCount; i++ )
272
272
      screenselect->addItem( i18n("Screen %1", i+1) );
273
273
    screenselect->setCurrentIndex(currentScreen);
274
 
    connect(screenselect, SIGNAL(activated(int)), SLOT(changeScreen(int)));
 
274
    if ( ScreenCount <= 1 )
 
275
    {
 
276
        screenselect->setEnabled( false );
 
277
    }
 
278
    else
 
279
        connect(screenselect, SIGNAL(activated(int)), SLOT(changeScreen(int)));
275
280
 
276
281
    options->setSpacing( 10 );
277
282
    options->setStretchFactor( xf86cfgbox, 10 );