Diffstat (limited to 'noncore/apps/opie-console/function_keyboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/function_keyboard.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.cpp b/noncore/apps/opie-console/function_keyboard.cpp index 977a384..c314949 100644 --- a/noncore/apps/opie-console/function_keyboard.cpp +++ b/noncore/apps/opie-console/function_keyboard.cpp @@ -116,5 +116,5 @@ void FunctionKeyboard::paintKey(int row, int col) { // sometimes it doesnt draw the last line - p.drawLine((col+1) * keyWidth -2, row * keyHeight, + p.drawLine((col+1) * keyWidth -2, row * keyHeight, (col+1) * keyWidth -2, (row + 1) * keyHeight ); @@ -189,6 +189,6 @@ void FunctionKeyboard::loadDefaults() { /* FunctionKeyboardConfig {{{1 */ -FunctionKeyboardConfig::FunctionKeyboardConfig(const QString& name, QWidget* parent) : - ProfileDialogKeyWidget(name, parent) { +FunctionKeyboardConfig::FunctionKeyboardConfig(const QString& name, QWidget* parent, const char* na ) + : ProfileDialogKeyWidget(name, parent, na) { @@ -227,10 +227,10 @@ FunctionKeyboardConfig::~FunctionKeyboardConfig() { } void FunctionKeyboardConfig::load (const Profile& prof) { - int i = prof.readNumEntry("keb_rows", 1); - //m_rowBox->setValue(i); + //int i = prof.readNumEntry("keb_rows", 1); + m_rowBox->setValue( 2 ); } void FunctionKeyboardConfig::save (Profile& prof) { - //prof.writeEntry("keb_rows", m_rowBox->value()); + prof.writeEntry("keb_rows", m_rowBox->value()); } |