diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MainWidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp index 4008f49..0ca175b 100644 --- a/src/MainWidget.cpp +++ b/src/MainWidget.cpp @@ -76,6 +76,11 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const int stx=15; int sty=15; extent_visible=false; + TDEConfig *cfg = TDEApplication::kApplication()->config(); + if (cfg) + { + extent_visible = cfg->readBoolEntry("numpad_visible", false); + } // resize ( 550,235 ); // move(0,0); @@ -611,6 +616,7 @@ void MainWidget::hideEvent ( TQHideEvent * ) cfg = TDEApplication::kApplication()->config(); if (cfg){ cfg->writeEntry("geometry",geometry()); + cfg->writeEntry("numpad_visible",extent_visible); cfg->sync(); } } |