summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp19
1 files changed, 15 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index b403b4d..b160604 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -11,2 +11,3 @@
#include "script.h"
+#include "fixit.h"
@@ -31,2 +32,8 @@ using namespace Opie::Ui;
MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) {
+#ifdef FSCKED_DISTRI
+ FixIt fix;
+ fix.fixIt();
+#endif
+
+ setCaption(QObject::tr("Opie Console") );
KeyTrans::loadAll();
@@ -300,2 +307,6 @@ MainWindow::~MainWindow() {
manager()->save();
+#ifdef FSCKED_DISTRI
+ FixIt fix;
+ fix.breakIt();
+#endif
}
@@ -451,3 +462,3 @@ void MainWindow::slotClose() {
Session* ses = currentSession();
- owarn << "removing! currentSession " << currentSession()->name().latin1() << "" << oendl;
+ owarn << "removing! currentSession " << currentSession()->name().latin1() << "" << oendl;
/* set to NULL to be safe, if its needed slotSessionChanged resets it automatically */
@@ -457,3 +468,3 @@ void MainWindow::slotClose() {
m_sessions.remove( ses );
- owarn << "after remove!!" << oendl;
+ owarn << "after remove!!" << oendl;
@@ -575,3 +586,3 @@ void MainWindow::slotOpenButtons( bool state ) {
void MainWindow::slotSessionChanged( Session* ses ) {
- owarn << "changed!" << oendl;
+ owarn << "changed!" << oendl;
@@ -584,3 +595,3 @@ void MainWindow::slotSessionChanged( Session* ses ) {
m_curSession = ses;
- odebug << QString("is connected : %1").arg( m_curSession->layer()->isConnected() ) << oendl;
+ odebug << QString("is connected : %1").arg( m_curSession->layer()->isConnected() ) << oendl;
if ( m_curSession->layer()->isConnected() ) {