summaryrefslogtreecommitdiff
authorzecke <zecke>2002-03-22 23:03:44 (UTC)
committer zecke <zecke>2002-03-22 23:03:44 (UTC)
commit232a5bed633ba2aa96fcab73ff991ab3a796ad76 (patch) (unidiff)
tree91bf3f7eec1ff69f62b3e7f700c9b2c4a968f24b
parentf0add730524cb63fd3bcce741da2e1fba83acb9f (diff)
downloadopie-232a5bed633ba2aa96fcab73ff991ab3a796ad76.zip
opie-232a5bed633ba2aa96fcab73ff991ab3a796ad76.tar.gz
opie-232a5bed633ba2aa96fcab73ff991ab3a796ad76.tar.bz2
make some people happy
Diffstat (more/less context) (ignore 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 6ad97e1..5225711 100644
--- a/core/launcher/mediummountgui.cpp
+++ b/core/launcher/mediummountgui.cpp
@@ -36,13 +36,13 @@ MediumMountGui::MediumMountGui( const QString &path ,QWidget* parent, const cha
36} 36}
37 37
38void MediumMountGui::readConfig(){ 38void MediumMountGui::readConfig(){
39 39
40 OConfig cfg (mediumPath +"/.opiestorage.cf"); 40 OConfig cfg (mediumPath +"/.opiestorage.cf");
41 cfg.setGroup("main"); 41 cfg.setGroup("main");
42 checkagain = cfg.readBoolEntry("check", true); 42 checkagain = cfg.readBoolEntry("check", false);
43 43
44 cfg.setGroup("mimetypes"); 44 cfg.setGroup("mimetypes");
45 checkmimeaudio = cfg.readBoolEntry("audio", true); 45 checkmimeaudio = cfg.readBoolEntry("audio", true);
46 checkmimeimage = cfg.readBoolEntry("image", true); 46 checkmimeimage = cfg.readBoolEntry("image", true);
47 checkmimetext = cfg.readBoolEntry("text", true); 47 checkmimetext = cfg.readBoolEntry("text", true);
48 checkmimevideo = cfg.readBoolEntry("video", true); 48 checkmimevideo = cfg.readBoolEntry("video", true);
@@ -50,13 +50,13 @@ void MediumMountGui::readConfig(){
50 50
51 cfg.setGroup("dirs"); 51 cfg.setGroup("dirs");
52 limittodirs = cfg.readEntry("dirs", ""); 52 limittodirs = cfg.readEntry("dirs", "");
53} 53}
54 54
55bool MediumMountGui::check() { 55bool MediumMountGui::check() {
56 return checkagain; 56 return !checkagain;
57} 57}
58 58
59QStringList MediumMountGui::dirs() { 59QStringList MediumMountGui::dirs() {
60 QStringList list = QStringList::split(",", limittodirs ); 60 QStringList list = QStringList::split(",", limittodirs );
61 return list; 61 return list;
62} 62}