-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 18 |
1 files changed, 15 insertions, 3 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 | |||
@@ -31,2 +31,6 @@ using namespace Opie::Ui; | |||
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) { |
@@ -205,4 +209,6 @@ void MainWindow::initUI() { | |||
205 | connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript())); | 209 | connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript())); |
206 | 210 | ||
207 | 211 | ||
212 | |||
213 | |||
208 | /* | 214 | /* |
@@ -224,3 +230,9 @@ void MainWindow::initUI() { | |||
224 | /* the scripts menu */ | 230 | /* the scripts menu */ |
225 | m_bar->insertItem( tr("Scripts"), m_scripts ); | 231 | #ifdef EAST |
232 | OConfig cfg("opie-console"); | ||
233 | cfg.setGroup("10east"); | ||
234 | if( !cfg.readEntry("scripthide",0) ) { | ||
235 | m_bar->insertItem( tr("Scripts"), m_scripts ); | ||
236 | } | ||
237 | #endif | ||
226 | 238 | ||