Skip to content

Commit

Permalink
win_fix: remove multiple declaration of mainwindow(Crash reporter)
Browse files Browse the repository at this point in the history
  • Loading branch information
rish9511 authored and sahil21 committed May 17, 2018
1 parent 5587a5e commit 8e3d400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CrashReporter/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ int main(int argc, char *argv[])
MainWindow w(nullptr, &uploader);
#endif

#ifdef Q_OS_UNIX
MainWindow w(nullptr, QString(argv[1]));
#endif

w.show();

Expand Down

0 comments on commit 8e3d400

Please sign in to comment.