+
+ // Show instructionsDialog if this is
+ // the first time the application is run
+ QSettings settings;
+ bool firstRunGone = settings.value("firstRunGone").toBool();
+ if (!firstRunGone) {
+ // show instructions
+ InstructionsDialog *instructionsDialog = new InstructionsDialog;
+ instructionsDialog->show();
+ settings.setValue("firstRunGone", true);
+ }