Diffstat (limited to 'noncore/apps/oxygen/calcdlgui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/calcdlgui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/oxygen/calcdlgui.cpp b/noncore/apps/oxygen/calcdlgui.cpp index e9b40d3..e40e2c7 100644 --- a/noncore/apps/oxygen/calcdlgui.cpp +++ b/noncore/apps/oxygen/calcdlgui.cpp | |||
@@ -13,15 +13,17 @@ | |||
13 | #include <qlineedit.h> | 13 | #include <qlineedit.h> |
14 | #include <qmultilineedit.h> | 14 | #include <qmultilineedit.h> |
15 | #include <qpushbutton.h> | 15 | #include <qpushbutton.h> |
16 | 16 | ||
17 | calcDlgUI::calcDlgUI() : CalcDlg() | 17 | calcDlgUI::calcDlgUI() : CalcDlg() |
18 | { | 18 | { |
19 | this->showMaximized(); | ||
19 | kmolcalc = new KMolCalc; | 20 | kmolcalc = new KMolCalc; |
20 | connect( calculate, SIGNAL( clicked() ), this, SLOT( calc() ) ); | 21 | connect( calculate, SIGNAL( clicked() ), this, SLOT( calc() ) ); |
21 | connect( clear_fields, SIGNAL( clicked() ), this, SLOT( clear() ) ); | 22 | connect( clear_fields, SIGNAL( clicked() ), this, SLOT( clear() ) ); |
23 | result->setReadOnly( true ); | ||
22 | } | 24 | } |
23 | 25 | ||
24 | void calcDlgUI::calc() | 26 | void calcDlgUI::calc() |
25 | { | 27 | { |
26 | QString compound( formula->text() ); | 28 | QString compound( formula->text() ); |
27 | if ( compound.isEmpty() ) { | 29 | if ( compound.isEmpty() ) { |