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<ImportEngine*> * KissCount::_importEngines;
|
||||||
std::vector<ExportEngine*> * KissCount::_exportEngines;
|
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::setCodecForCStrings(QTextCodec::codecForName("utf8"));
|
||||||
QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
|
QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
|
||||||
|
|
|
@ -56,7 +56,7 @@ class ExportEngine;
|
||||||
class KissCount : public QApplication
|
class KissCount : public QApplication
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
KissCount(int argc, char** argv);
|
KissCount(int& argc, char** argv);
|
||||||
~KissCount();
|
~KissCount();
|
||||||
|
|
||||||
std::list<QString> GetUsers();
|
std::list<QString> GetUsers();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user