From 890372105af575d9c13c8ce5c450f4fa061ecffe Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 26 Apr 2002 21:10:41 +0000 Subject: Remember to check ChechBoxAll so we can remember even the state of that --- 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 @@ -44,11 +44,11 @@ void MediumMountGui::readConfig(){ checkagain = m_cfg->readBoolEntry("check", false); m_cfg->setGroup("mimetypes"); - checkmimeaudio = m_cfg->readBoolEntry("audio", true); - checkmimeimage = m_cfg->readBoolEntry("image", true); - checkmimetext = m_cfg->readBoolEntry("text", true); - checkmimevideo = m_cfg->readBoolEntry("video", true); - checkmimeall = m_cfg->readBoolEntry("all", true); + checkmimeaudio = m_cfg->readBoolEntry("audio", true ); + checkmimeimage = m_cfg->readBoolEntry("image", true ); + checkmimetext = m_cfg->readBoolEntry("text" , true ); + checkmimevideo = m_cfg->readBoolEntry("video", true ); + checkmimeall = m_cfg->readBoolEntry("all" , false); m_cfg->setGroup("dirs"); limittodirs = m_cfg->readEntry("dirs", ""); @@ -180,7 +180,7 @@ void MediumMountGui::startGui() { CheckBoxImage->setChecked(checkmimeimage); CheckBoxText->setChecked(checkmimetext); CheckBoxVideo->setChecked(checkmimevideo); - + CheckBoxAll->setChecked( checkmimeall ); // buttons quit = new QPushButton( this ); quit->setGeometry( QRect( (this->width()/2)- 90 , 260, 80, 22 ) ); -- cgit v0.9.0.2