mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-16 01:24:36 +00:00
Class derived from QApplication should have the constructor passing argc by reference... (this bug caused crashing at startup...)
This commit is contained in:
parent
77fdef6ba6
commit
fbbefba811
@ -1,7 +1,7 @@
|
||||
#include "mlapplication.h"
|
||||
#include "mlexception.h"
|
||||
|
||||
MeshLabApplication::MeshLabApplication( int argc, char *argv[] )
|
||||
MeshLabApplication::MeshLabApplication( int &argc, char *argv[] )
|
||||
:QApplication(argc,argv)
|
||||
{
|
||||
|
||||
|
||||
@ -6,9 +6,9 @@
|
||||
class MeshLabApplication : public QApplication
|
||||
{
|
||||
public:
|
||||
MeshLabApplication(int argc, char *argv[]);
|
||||
MeshLabApplication(int &argc, char *argv[]);
|
||||
~MeshLabApplication();
|
||||
bool notify(QObject * rec, QEvent * ev);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user