widget_ = new ProgressViewWidget();
setWidget(widget_);
+#if (QT_VERSION >= 0x040500)
QFont font(guiApp->typewriterFontName());
font.setKerning(false);
font.setFixedPitch(true);
connect(box, SIGNAL(stateChanged(int)), this, SLOT(levelChanged()));
}
widget_->settingsLayout->activate();
-
+#endif
+
GuiProgress * progress =
dynamic_cast<GuiProgress *>(ProgressInterface::instance());
void GuiProgressView::showEvent(QShowEvent*)
{
+#if (QT_VERSION >= 0x040500)
ProgressInterface::instance()->lyxerrConnect();
+#else
+ hide();
+#endif
}