Bug Fix Calculator example not raising it's window on Windows

This commit is contained in:
Itay Grudev 2017-02-02 04:35:05 +00:00
parent 4841681918
commit 8892a54e12
No known key found for this signature in database
GPG Key ID: 8BA92A8D5F1660F3

View File

@ -60,12 +60,10 @@ int main(int argc, char *argv[])
Calculator calc; Calculator calc;
QObject::connect( QObject::connect( &app, &SingleApplication::instanceStarted, [ &calc ]() {
&app, calc.raise();
&SingleApplication::instanceStarted, calc.activateWindow();
&calc, });
&Calculator::raise
);
calc.show(); calc.show();