on xenial help sign in
Fix argv.
c40d296Michał Sawicz
tools/scopetool.cpp+2−2
@@ -32,7 +32,7 @@
32#include "registry-tracker.h"
32#include "registry-tracker.h"
33
33
34
34
35−int main(int argc, const char *argv[])
35+int main(int argc, char *argv[])
36{
36{
37 /* Workaround Qt platform integration plugin not advertising itself
37 /* Workaround Qt platform integration plugin not advertising itself
38 as having the following capabilities:
38 as having the following capabilities:
@@ -44,7 +44,7 @@ int main(int argc, const char *argv[])
44
44
45 QGuiApplication::setApplicationName("Unity Scope Tool");
45 QGuiApplication::setApplicationName("Unity Scope Tool");
46 QGuiApplication *application;
46 QGuiApplication *application;
47− application = new QGuiApplication(argc, (char**)argv);
47+ application = new QGuiApplication(argc, argv);
48
48
49 QStringList arguments = application->arguments();
49 QStringList arguments = application->arguments();
50 QString scopesDir;
50 QString scopesDir;