From 782a518c6a690f4d81c17d10a59a95fc82b79fc0 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Mon, 8 Aug 2011 08:44:01 +0200 Subject: [PATCH] Removed unused code --- src/core/UBApplication.cpp | 5 ----- src/core/UBPreferencesController.cpp | 1 - 2 files changed, 6 deletions(-) diff --git a/src/core/UBApplication.cpp b/src/core/UBApplication.cpp index bddfc5c3..b1942ce1 100644 --- a/src/core/UBApplication.cpp +++ b/src/core/UBApplication.cpp @@ -268,11 +268,6 @@ int UBApplication::exec(const QString& pFileToImport) connect(mainWindow->actionCopy, SIGNAL(triggered()), applicationController, SLOT(actionCopy())); connect(mainWindow->actionPaste, SIGNAL(triggered()), applicationController, SLOT(actionPaste())); -//#ifndef __ppc__ -// // this cause a problem on MACX/PPC (see https://trac.assembla.com/uniboard/ticket/862) -// installEventFilter(new UBIdleTimer(this)); -//#endif - applicationController->initScreenLayout(); boardController->setupLayout(); diff --git a/src/core/UBPreferencesController.cpp b/src/core/UBPreferencesController.cpp index 867f3064..e84c6031 100644 --- a/src/core/UBPreferencesController.cpp +++ b/src/core/UBPreferencesController.cpp @@ -65,7 +65,6 @@ UBPreferencesController::UBPreferencesController(QWidget *parent) , mMarkerProperties(0) { mPreferencesWindow = new UBPreferencesDialog(this,parent, Qt::Dialog); - // mPreferencesWindow = new QDialog(parent, Qt::Dialog); mPreferencesUI = new Ui::preferencesDialog(); // deleted in mPreferencesUI->setupUi(mPreferencesWindow); connect(mPreferencesUI->Username_textBox, SIGNAL(editingFinished()), this, SLOT(onCommunityUsernameChanged()));