Fix a bug : argc must be passed as a reference
This commit is contained in:
parent
df4228d799
commit
c685d4b3fb
|
@ -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