+ fixes #0001357: Freecad fails when sketch being deleted
This commit is contained in:
parent
39a6b17036
commit
1818d375c6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user