Quite frankly we don't know how it was running anywhere else, as Qt made
a subtle change in how their QApplication objects were created without
making it known far and wide. Maybe they did, and I just missed it. But
the lesson learned is that for want of an ampersand, a kingdom was lost.
//
// Main app constructor--we stick globally accessible stuff here... (?)
//
-App::App(int argc, char * argv[]): QApplication(argc, argv)
+App::App(int & argc, char * argv[]): QApplication(argc, argv)
{
bool loadAndGo = !filename.isEmpty();
class App: public QApplication
{
public:
- App(int argc, char * argv[]);
+ App(int & argc, char * argv[]);
private:
MainWin * mainWindow;