summaryrefslogtreecommitdiff
path: root/core/launcher/mediummountgui.cpp
authorzecke <zecke>2002-04-26 21:14:16 (UTC)
committer zecke <zecke>2002-04-26 21:14:16 (UTC)
commit75b32567bfeb67ed71877c4fa9e918c836a8a68b (patch) (unidiff)
tree6cfa35841aeff70f94ba04073dc49167f751711e /core/launcher/mediummountgui.cpp
parent890372105af575d9c13c8ce5c450f4fa061ecffe (diff)
downloadopie-75b32567bfeb67ed71877c4fa9e918c836a8a68b.zip
opie-75b32567bfeb67ed71877c4fa9e918c836a8a68b.tar.gz
opie-75b32567bfeb67ed71877c4fa9e918c836a8a68b.tar.bz2
Remember to check ChechBoxAll so we can remember even the state of that II
Diffstat (limited to 'core/launcher/mediummountgui.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/mediummountgui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp
index f16a37d..f375236 100644
--- a/core/launcher/mediummountgui.cpp
+++ b/core/launcher/mediummountgui.cpp
@@ -172,24 +172,25 @@ void MediumMountGui::startGui() {
172 // ask again 172 // ask again
173 AskBox = new QCheckBox( this ); 173 AskBox = new QCheckBox( this );
174 AskBox->setGeometry( QRect( 10, 215, (this->width())-15 , 15 ) ); 174 AskBox->setGeometry( QRect( 10, 215, (this->width())-15 , 15 ) );
175 AskBox->setText( tr( "Do not ask again for this medium" ) ); 175 AskBox->setText( tr( "Do not ask again for this medium" ) );
176 176
177 177
178 AskBox->setChecked(checkagain); 178 AskBox->setChecked(checkagain);
179 CheckBoxAudio->setChecked(checkmimeaudio); 179 CheckBoxAudio->setChecked(checkmimeaudio);
180 CheckBoxImage->setChecked(checkmimeimage); 180 CheckBoxImage->setChecked(checkmimeimage);
181 CheckBoxText->setChecked(checkmimetext); 181 CheckBoxText->setChecked(checkmimetext);
182 CheckBoxVideo->setChecked(checkmimevideo); 182 CheckBoxVideo->setChecked(checkmimevideo);
183 CheckBoxAll->setChecked( checkmimeall ); 183 CheckBoxAll->setChecked( checkmimeall );
184 deactivateOthers();
184 // buttons 185 // buttons
185 quit = new QPushButton( this ); 186 quit = new QPushButton( this );
186 quit->setGeometry( QRect( (this->width()/2)- 90 , 260, 80, 22 ) ); 187 quit->setGeometry( QRect( (this->width()/2)- 90 , 260, 80, 22 ) );
187 quit->setFocus(); 188 quit->setFocus();
188 quit->setText( tr( "Yes" ) ); 189 quit->setText( tr( "Yes" ) );
189 190
190 quit_2 = new QPushButton( this ); 191 quit_2 = new QPushButton( this );
191 quit_2->setGeometry( QRect((this->width()/2) , 260, 80, 22 ) ); 192 quit_2->setGeometry( QRect((this->width()/2) , 260, 80, 22 ) );
192 quit_2->setText( tr( "No" ) ); 193 quit_2->setText( tr( "No" ) );
193 194
194 QObject::connect( (QObject*)quit, SIGNAL( clicked() ), this, SLOT(yesPressed() ) ); 195 QObject::connect( (QObject*)quit, SIGNAL( clicked() ), this, SLOT(yesPressed() ) );
195 QObject::connect( (QObject*)quit_2, SIGNAL( clicked() ), this, SLOT(noPressed() ) ); 196 QObject::connect( (QObject*)quit_2, SIGNAL( clicked() ), this, SLOT(noPressed() ) );