Fix a bug : argc must be passed as a reference

This commit is contained in:
Grégory Soutadé 2012-08-03 21:08:20 +02:00
parent a5572cc07b
commit c5be6a2b0d
2 changed files with 2 additions and 2 deletions

View File

@ -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"));

View File

@ -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();