make it compile with QT_NO_COMPAT

svn path=/trunk/kdebase/konsole/; revision=116640
wilder-portage
Stefan Gehn 25 years ago
parent c3c03ea428
commit 6bd2eaa0b0
  1. 2
      konsole/TEWidget.cpp
  2. 4
      konsole/schema.cpp

@ -1205,7 +1205,7 @@ void TEWidget::calcGeometry()
{
//FIXME: set rimX == rimY == 0 when running in full screen mode.
scrollbar->resize(QApplication::style().scrollBarExtent().width(),
scrollbar->resize(QApplication::style().pixelMetric(QStyle::PM_ScrollBarExtent),
contentsRect().height());
switch(scrollLoc)
{

@ -365,7 +365,7 @@ bool ColorSchema::rereadSchemaFile()
if (!(0 <= fi && fi <= TABLE_COLORS)) continue;
if (!(0 <= tr && tr <= 1 )) continue;
if (!(0 <= bo && bo <= 1 )) continue;
m_table[fi].color = kapp->palette().normal().text();
m_table[fi].color = kapp->palette().active().text();
m_table[fi].transparent = tr;
m_table[fi].bold = bo;
}
@ -376,7 +376,7 @@ bool ColorSchema::rereadSchemaFile()
if (!(0 <= fi && fi <= TABLE_COLORS)) continue;
if (!(0 <= tr && tr <= 1 )) continue;
if (!(0 <= bo && bo <= 1 )) continue;
m_table[fi].color = kapp->palette().normal().base();
m_table[fi].color = kapp->palette().active().base();
m_table[fi].transparent = tr;
m_table[fi].bold = bo;
}

Loading…
Cancel
Save