-rw-r--r-- | noncore/apps/confedit/listviewconfdir.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/confedit/listviewitemconfigentry.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/confedit/listviewconfdir.cpp b/noncore/apps/confedit/listviewconfdir.cpp index 33bffe1..73eaae3 100644 --- a/noncore/apps/confedit/listviewconfdir.cpp +++ b/noncore/apps/confedit/listviewconfdir.cpp | |||
@@ -46,19 +46,19 @@ void ListViewConfDir::readConfFiles() | |||
46 | const QFileInfoList *list = confDir.entryInfoList(); | 46 | const QFileInfoList *list = confDir.entryInfoList(); |
47 | QFileInfoListIterator it( *list ); | 47 | QFileInfoListIterator it( *list ); |
48 | QFileInfo *fi; | 48 | QFileInfo *fi; |
49 | 49 | ||
50 | ListViewItemConfFile *fileEntry; | 50 | ListViewItemConfFile *fileEntry; |
51 | 51 | ||
52 | while ( (fi=it.current()) ) | 52 | while ( (fi=it.current()) ) |
53 | { | 53 | { |
54 | odebug << "opening: >" << fi->fileName().data() << "<" << oendl; | 54 | odebug << "opening: >" << fi->fileName().data() << "<" << oendl; |
55 | fileEntry = new ListViewItemConfFile( fi, this ); | 55 | fileEntry = new ListViewItemConfFile( fi, this ); |
56 | QListViewItem *dummy = new QListViewItem(fileEntry, "dummy"); | 56 | (void)new QListViewItem(fileEntry, "dummy"); |
57 | ++it; | 57 | ++it; |
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||
61 | void ListViewConfDir::expand(QListViewItem *item) | 61 | void ListViewConfDir::expand(QListViewItem *item) |
62 | { | 62 | { |
63 | ((ListViewItemConf*)item)->expand(); | 63 | ((ListViewItemConf*)item)->expand(); |
64 | } | 64 | } |
diff --git a/noncore/apps/confedit/listviewitemconfigentry.cpp b/noncore/apps/confedit/listviewitemconfigentry.cpp index 0970125..714a154 100644 --- a/noncore/apps/confedit/listviewitemconfigentry.cpp +++ b/noncore/apps/confedit/listviewitemconfigentry.cpp | |||
@@ -131,20 +131,20 @@ void ListViewItemConfigEntry::save(QTextStream *t) | |||
131 | for (QListViewItem *it = firstChild(); it!=0;it = it->nextSibling()) | 131 | for (QListViewItem *it = firstChild(); it!=0;it = it->nextSibling()) |
132 | { | 132 | { |
133 | ((ListViewItemConfigEntry*)it)->save(t); | 133 | ((ListViewItemConfigEntry*)it)->save(t); |
134 | } | 134 | } |
135 | } | 135 | } |
136 | 136 | ||
137 | void ListViewItemConfigEntry::revert() | 137 | void ListViewItemConfigEntry::revert() |
138 | { | 138 | { |
139 | _group = _groupOrig; | 139 | _group = _groupOrig; |
140 | _key = _keyOrig; | 140 | _key = _keyOrig; |
141 | _value = _valueOrig; | 141 | _value = _valueOrig; |
142 | _changed=false; | 142 | _changed=false; |
143 | displayText(); | 143 | displayText(); |
144 | } | 144 | } |
145 | 145 | ||
146 | 146 | ||
147 | void ListViewItemConfigEntry::expand() | 147 | void ListViewItemConfigEntry::expand() |
148 | { | 148 | { |
149 | 149 | ||
150 | } \ No newline at end of file | 150 | } |