From 1818d375c6e6b4e4e4d1051fd882f632d88e3952 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 11 Mar 2014 10:27:55 +0100 Subject: [PATCH] + fixes #0001357: Freecad fails when sketch being deleted --- src/Gui/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index 1cb98181a..2f4b6bc55 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -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)