on xenial help sign in
Fix argv.
commitc40d296c4185711a8575b63af46ceb8cf0fd452d authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 3 Jan 2014, 11:26 (13 years ago) parent6d7b404
1 file changed+2−2
tools/scopetool.cpp+2−2
tools/scopetool.cpp+2−2
@@ -32,7 +32,7 @@
3232#include "registry-tracker.h"
3333
3434
35−int main(int argc, const char *argv[])
35+int main(int argc, char *argv[])
3636{
3737 /* Workaround Qt platform integration plugin not advertising itself
3838 as having the following capabilities:
@@ -44,7 +44,7 @@ int main(int argc, const char *argv[])
4444
4545 QGuiApplication::setApplicationName("Unity Scope Tool");
4646 QGuiApplication *application;
47− application = new QGuiApplication(argc, (char**)argv);
47+ application = new QGuiApplication(argc, argv);
4848
4949 QStringList arguments = application->arguments();
5050 QString scopesDir;