summaryrefslogtreecommitdiffstats
path: root/kbruch/src/mainqtwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbruch/src/mainqtwidget.cpp')
-rw-r--r--kbruch/src/mainqtwidget.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/kbruch/src/mainqtwidget.cpp b/kbruch/src/mainqtwidget.cpp
index 97d73264..256d8bcf 100644
--- a/kbruch/src/mainqtwidget.cpp
+++ b/kbruch/src/mainqtwidget.cpp
@@ -107,10 +107,6 @@ MainQtWidget::MainQtWidget()
TQObject::connect(m_exerciseFactorize, TQ_SIGNAL(signalExerciseSolvedCorrect()), m_statview, TQ_SLOT(addCorrect()));
TQObject::connect(m_exerciseFactorize, TQ_SIGNAL(signalExerciseSolvedWrong()), m_statview, TQ_SLOT(addWrong()));
-#if (TDE_VERSION_MINOR>=3) && (TDE_VERSION_MAJOR>=3)
-#else
- resize(TQSize(TQMAX(toolBar()->sizeHint().width(), sizeHint().width()), sizeHint().height()));
-#endif
// now show the last exercise
m_exercises->showPage(SettingsClass::activeExercise());
slotAboutToShowPage(m_exercises->pageWidget(m_exercises->activePageIndex()));
@@ -241,12 +237,10 @@ void MainQtWidget::setupActions()
// now connect the ComboBox's signal textChanged() to the slot function
TQObject::connect(m_OperationBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(OperationBoxSlot()));
-#if (TDE_VERSION_MINOR>=3) && (TDE_VERSION_MAJOR>=3)
if (!initialGeometrySet())
resize( TQSize(725, 330).expandedTo(minimumSizeHint()));
setupGUI(ToolBar | Keys | StatusBar | Create);
setAutoSaveSettings();
-#endif
}