Commit e9f44db3 authored by Frédéric Larue's avatar Frédéric Larue

Retro-compatibility bugs fixed.

parent 8d729fb7
......@@ -179,7 +179,7 @@ void MetricGrid::displayGrid( GLViewer *viewer,
{
std::stringstream strStream;
strStream << spacing;
QString spacingStr = QString::fromStdString( strStream.str() ) + " " + m_Suffix;
QString spacingStr = QString::fromStdString( strStream.str() ) + " " + *m_Suffix;
if( isAxisEnabled(X) && QVector3D::dotProduct( QVector3D(spacing,0,0)-camCenter, camFront ) < 0.0f )
{
......
......@@ -2259,10 +2259,10 @@ void UIMainWindow::showProjectContextMenu( const QPoint& pos )
{
if( getCurrentProject() )
{
QAction *actRename = new QAction( "Rename" );
//QAction *actReOpen = new QAction( "Re-open" );
QAction *actSave = new QAction( "Save" );
QAction *actClose = new QAction( "Close" );
QAction *actRename = new QAction( "Rename", NULL );
//QAction *actReOpen = new QAction( "Re-open", NULL );
QAction *actSave = new QAction( "Save" , NULL );
QAction *actClose = new QAction( "Close", NULL );
connect( actRename, SIGNAL(triggered()), this, SLOT(enableProjectRenamingMode()) );
connect( actSave , SIGNAL(triggered()), this, SLOT(saveCurrentProject()) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment