summaryrefslogtreecommitdiffstats
path: root/kbruch/src/mainqtwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-21 15:00:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-21 16:00:22 +0900
commit4f676cb6c5f8cbad60f107efe86f3e0148773bb1 (patch)
tree7f8b6e61849bbdfd2847aee3755c181c80a64c19 /kbruch/src/mainqtwidget.cpp
parent447122383788a3b4a42eb519bb263cbbeca4c7a1 (diff)
downloadtdeedu-r14.1.x.tar.gz
tdeedu-r14.1.x.zip
Remove use of TDE_VERSIONr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f1813227cade0bda608db8f74344ca5b4260d4af)
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
}