Menurama: Fix custom application class constructor signature

Change-Id: I989b9205dde9280f97dedbaad47ef4a8d75004ac
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
Gabriel de Dietrich 2017-11-14 09:23:49 -07:00 committed by Liang Qi
parent 4532a9590b
commit f55a40ac03
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
#include "menuramaapplication.h"
MenuramaApplication::MenuramaApplication(int argc, char **argv)
MenuramaApplication::MenuramaApplication(int &argc, char **argv)
: QApplication (argc, argv)
{
#if 0

View File

@ -36,7 +36,7 @@
class MenuramaApplication : public QApplication
{
public:
MenuramaApplication(int argc, char **argv);
MenuramaApplication(int &argc, char **argv);
void addDynMenu(QLatin1String title, QMenu *parentMenu);
QAction *findAction(QLatin1String title, QMenu *parentMenu);