-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index a0622d4..291912c 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -30,4 +30,8 @@ using namespace Opie::Ui; | |||
30 | #include <assert.h> | 30 | #include <assert.h> |
31 | 31 | ||
32 | #ifdef EAST | ||
33 | #include <opie2/oconfig.h> | ||
34 | #endif | ||
35 | |||
32 | MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { | 36 | MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { |
33 | 37 | ||
@@ -206,4 +210,6 @@ void MainWindow::initUI() { | |||
206 | 210 | ||
207 | 211 | ||
212 | |||
213 | |||
208 | /* | 214 | /* |
209 | * action that open/closes the keyboard | 215 | * action that open/closes the keyboard |
@@ -223,5 +229,11 @@ void MainWindow::initUI() { | |||
223 | 229 | ||
224 | /* the scripts menu */ | 230 | /* the scripts menu */ |
231 | #ifdef EAST | ||
232 | OConfig cfg("opie-console"); | ||
233 | cfg.setGroup("10east"); | ||
234 | if( !cfg.readEntry("scripthide",0) ) { | ||
225 | m_bar->insertItem( tr("Scripts"), m_scripts ); | 235 | m_bar->insertItem( tr("Scripts"), m_scripts ); |
236 | } | ||
237 | #endif | ||
226 | 238 | ||
227 | /* and the keyboard */ | 239 | /* and the keyboard */ |