This commit is contained in:
mfeemster
2015-07-29 17:35:38 -07:00
3 changed files with 16 additions and 7 deletions

View File

@ -6513,7 +6513,7 @@ SpinBox
<string>Copy selected xforms to the clipboard</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
<string>Ctrl+D</string>
</property>
</action>
<action name="ActionPasteSelectedXforms">
@ -6524,7 +6524,7 @@ SpinBox
<string>Paste copied xforms into the current flame</string>
</property>
<property name="shortcut">
<string>Ctrl+W</string>
<string>Ctrl+S</string>
</property>
</action>
<action name="ActionResetWorkspace">

View File

@ -44,9 +44,18 @@ int main(int argc, char *argv[])
"}" );
#endif
Fractorium w;
w.show();
a.installEventFilter(&w);
return a.exec();
int rv = -1;
try
{
Fractorium w;
w.show();
a.installEventFilter(&w);
rv = a.exec();
} catch (const char *e) {
QMessageBox::critical(0, "Fatal Error", e);
}
return rv;
}