~ubuntu-branches/ubuntu/precise/mm3d/precise

« back to all changes in this revision

Viewing changes to src/commands/unweldcmd.cc

  • Committer: Bazaar Package Importer
  • Author(s): Ludovico Gardenghi
  • Date: 2008-10-21 01:00:14 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20081021010014-65o1syy7ry430sn0
Tags: 1.3.7-1.1
* Non-maintainer upload.
* Fix FTBFS bug due to wrong Build-Depends -- still QT3 but new upstream
  moved to QT4. Removed useless dependencies on various X libraries.
  (Closes: #490331, #489838)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include "weld.h" // does the real work
33
33
 
34
34
#include <map>
35
 
#include <qobject.h>
36
 
#include <qapplication.h>
 
35
#include <QtCore/QObject>
 
36
#include <QtGui/QApplication>
37
37
 
38
38
using std::list;
39
39
 
56
56
         int unwelded = 0;
57
57
         int welded = 0;
58
58
         unweldSelectedVertices( model, unwelded, welded );
59
 
         model_status( model, StatusNormal, STATUSTIME_SHORT, (qApp->translate( "Command", "Unwelded %1 vertices into %2 vertices" ).arg(welded).arg(unwelded)).utf8() );
 
59
         model_status( model, StatusNormal, STATUSTIME_SHORT, (qApp->translate( "Command", "Unwelded %1 vertices into %2 vertices" ).arg(welded).arg(unwelded)).toUtf8() );
60
60
         return true;
61
61
      }
62
62
      else
63
63
      {
64
 
         model_status( model, StatusError, STATUSTIME_LONG, qApp->translate( "Command", "You must have 1 or more vertices selected to unweld." ).utf8() );
 
64
         model_status( model, StatusError, STATUSTIME_LONG, qApp->translate( "Command", "You must have 1 or more vertices selected to unweld." ).toUtf8() );
65
65
      }
66
66
   }
67
67