Verified Commit ad056e67 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

qapp argc bugfix

parent cb2fc974
......@@ -118,7 +118,10 @@ protected:
TakAppl(int argc, char** argv) : QApplication(argc, argv) {}
// need a reference to argc, because the QApplication constructor
// would otherwise take the temporary stack variable
// see:
TakAppl(/*const*/ int& argc, /*const*/ char** argv) : QApplication(argc, argv) {}
virtual ~TakAppl() {}
void SetTakDlg(std::shared_ptr<TazDlg> pDlg) { m_pTakDlg = pDlg; }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment