Fix a bug : argc must be passed as a reference
This commit is contained in:
parent
a5572cc07b
commit
c5be6a2b0d
|
@ -28,7 +28,7 @@
|
|||
std::vector<ImportEngine*> * KissCount::_importEngines;
|
||||
std::vector<ExportEngine*> * KissCount::_exportEngines;
|
||||
|
||||
KissCount::KissCount(int argc, char** argv) : QApplication(argc, argv), _user(0)
|
||||
KissCount::KissCount(int& argc, char** argv) : QApplication(argc, argv), _user(0)
|
||||
{
|
||||
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
|
||||
QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
|
||||
|
|
|
@ -56,7 +56,7 @@ class ExportEngine;
|
|||
class KissCount : public QApplication
|
||||
{
|
||||
public:
|
||||
KissCount(int argc, char** argv);
|
||||
KissCount(int& argc, char** argv);
|
||||
~KissCount();
|
||||
|
||||
std::list<QString> GetUsers();
|
||||
|
|
Loading…
Reference in New Issue
Block a user