[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/kfloppy
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-08-20 9:47:15
Message-ID: 20040820094715.3767C9144 () office ! kde ! org
[Download RAW message or body]
CVS commit by goutte:
Enable the progress bar only when something is currently done.
(That does not mean that the progress bar always works when enabled.)
M +2 -0 floppy.cpp 1.68
--- kdeutils/kfloppy/floppy.cpp #1.67:1.68
@@ -176,4 +176,5 @@ FloppyData::FloppyData(QWidget * parent,
progress = new KProgress( this, "Progress" );
progress->setMinimumHeight( 30 );
+ progress->setDisabled( true );
ml->addWidget( progress );
@@ -321,4 +322,5 @@ void FloppyData::setEnabled(bool b)
quitbutton->setEnabled(b);
formatbutton->setEnabled(b);
+ progress->setDisabled( b ); // The other way round!
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic