summaryrefslogtreecommitdiff
path: root/core/launcher/mediummountgui.cpp
authorzecke <zecke>2002-04-26 21:10:41 (UTC)
committer zecke <zecke>2002-04-26 21:10:41 (UTC)
commit890372105af575d9c13c8ce5c450f4fa061ecffe (patch) (unidiff)
tree3f22a157f7fd4dce4105cc2095b9074c9e358e57 /core/launcher/mediummountgui.cpp
parentb59a0401cf09669e05d3e68dd289ed0bb25ced6e (diff)
downloadopie-890372105af575d9c13c8ce5c450f4fa061ecffe.zip
opie-890372105af575d9c13c8ce5c450f4fa061ecffe.tar.gz
opie-890372105af575d9c13c8ce5c450f4fa061ecffe.tar.bz2
Remember to check ChechBoxAll so we can remember even the state of that
Diffstat (limited to 'core/launcher/mediummountgui.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/mediummountgui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp
index 8cc2411..f16a37d 100644
--- a/core/launcher/mediummountgui.cpp
+++ b/core/launcher/mediummountgui.cpp
@@ -45,13 +45,13 @@ void MediumMountGui::readConfig(){
45 45
46 m_cfg->setGroup("mimetypes"); 46 m_cfg->setGroup("mimetypes");
47 checkmimeaudio = m_cfg->readBoolEntry("audio", true); 47 checkmimeaudio = m_cfg->readBoolEntry("audio", true);
48 checkmimeimage = m_cfg->readBoolEntry("image", true); 48 checkmimeimage = m_cfg->readBoolEntry("image", true);
49 checkmimetext = m_cfg->readBoolEntry("text", true); 49 checkmimetext = m_cfg->readBoolEntry("text", true);
50 checkmimevideo = m_cfg->readBoolEntry("video", true); 50 checkmimevideo = m_cfg->readBoolEntry("video", true);
51 checkmimeall = m_cfg->readBoolEntry("all", true); 51 checkmimeall = m_cfg->readBoolEntry("all" , false);
52 52
53 m_cfg->setGroup("dirs"); 53 m_cfg->setGroup("dirs");
54 limittodirs = m_cfg->readEntry("dirs", ""); 54 limittodirs = m_cfg->readEntry("dirs", "");
55} 55}
56 56
57bool MediumMountGui::check() { 57bool MediumMountGui::check() {
@@ -177,13 +177,13 @@ void MediumMountGui::startGui() {
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 183 CheckBoxAll->setChecked( checkmimeall );
184 // buttons 184 // buttons
185 quit = new QPushButton( this ); 185 quit = new QPushButton( this );
186 quit->setGeometry( QRect( (this->width()/2)- 90 , 260, 80, 22 ) ); 186 quit->setGeometry( QRect( (this->width()/2)- 90 , 260, 80, 22 ) );
187 quit->setFocus(); 187 quit->setFocus();
188 quit->setText( tr( "Yes" ) ); 188 quit->setText( tr( "Yes" ) );
189 189