summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/function_keyboard.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.cpp b/noncore/apps/opie-console/function_keyboard.cpp
index 389618c..c3209f4 100644
--- a/noncore/apps/opie-console/function_keyboard.cpp
+++ b/noncore/apps/opie-console/function_keyboard.cpp
@@ -17,28 +17,6 @@ FunctionKeyboard::FunctionKeyboard(QWidget *parent) :
17 17
18 setSizePolicy(QSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed)); 18 setSizePolicy(QSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed));
19 19
20 /*
21 * all the saving/loading is now done in a profile. downside is that you cant modify
22 * the keyboard for all profiles, but must do it on a profile-basis
23 *
24
25 Config conf("opie-console-keys");
26 conf.setGroup("keys");
27 for (uint r = 0; r < numRows; r++)
28 for (uint c = 0; c < numCols; c++) {
29
30 QString handle = "r" + QString::number(r) + "c" + QString::number(c);
31 QStringList value_list = conf.readListEntry( handle, '|');
32
33 if (value_list.isEmpty()) continue;
34
35 keys.insert(
36
37 handle,
38 FKey (value_list[0], value_list[1], value_list[2].toUShort(), value_list[3].toUShort())
39 );
40 }
41 */
42 if (keys.isEmpty()) loadDefaults(); 20 if (keys.isEmpty()) loadDefaults();
43 21
44 22