Skip to content

Commit

Permalink
Removed myapp instances from edit - replaced with main
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellGarwood committed Dec 21, 2019
1 parent df45945 commit c0475a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SPIERSedit/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ int main(int argc, char **argv)

QString fname;

myapp::myapp(int argc, char *argv[]) : QApplication(argc, argv)
main::main(int argc, char *argv[]) : QApplication(argc, argv)
{
//do nothing
donthandlefileevent = false;
}

bool myapp::event(QEvent *event)
bool main::event(QEvent *event)
{
//we don't do anything if we were passed and argv1 - i.e. if we are a child process of first one
if (donthandlefileevent == true) return QApplication::event(event);
Expand Down Expand Up @@ -115,7 +115,7 @@ bool myapp::event(QEvent *event)

int main(int argc, char *argv[])
{
myapp a(argc, argv);
main a(argc, argv);

NetModule n;
n.checkForNew();
Expand Down

0 comments on commit c0475a2

Please sign in to comment.