+ fixes #0001357: Freecad fails when sketch being deleted

This commit is contained in:
wmayer 2014-03-11 10:27:55 +01:00
parent 39a6b17036
commit 1818d375c6

View File

@ -1613,7 +1613,7 @@ void MainWindow::showMessage (const QString& message, int timeout)
{
QFontMetrics fm(statusBar()->font());
QString msg = fm.elidedText(message, Qt::ElideMiddle, this->width()/2);
#if QT_VERSION != 0x040801
#if QT_VERSION <= 0x040600
this->statusBar()->showMessage(msg, timeout);
#else
//#0000665: There is a crash under Ubuntu 12.04 (Qt 4.8.1)