Commit d56731ca authored by Niklas Freund's avatar Niklas Freund
Browse files

Minor comment adjustments

parent dda2115c
......@@ -2780,8 +2780,6 @@ void KCalculator::resizeEvent(QResizeEvent* event)
updateGeometry();
// If the content size is now larger than the window size, resize window to fit
// (Workaround for bug where changing from simple to science mode in maximized state
// and then restoring results in the window being too small for content)
QSize actualSize = KCalculator::size();
QSize minSize = KCalculator::minimumSize();
if (actualSize.width() < minSize.width() || actualSize.height() < minSize.height()) {
......
......@@ -179,7 +179,7 @@ void KCalcHistory::updateFont(double zoomFactor)
//------------------------------------------------------------------------------
// Name: baseFont
// Desc:
// Desc: Returns current baseFont
//------------------------------------------------------------------------------
const QFont& KCalcHistory::baseFont() const
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment