it solved.
use:
}Qt Code:
Connections { target: platformWindow onActiveChanged: { if (platformWindow.active) { //App became active } else { //App became inactive } }To copy to clipboard, switch view to plain text mode
it solved.
use:
}Qt Code:
Connections { target: platformWindow onActiveChanged: { if (platformWindow.active) { //App became active } else { //App became inactive } }To copy to clipboard, switch view to plain text mode
Last edited by Yonetici; 2nd August 2012 at 15:12.
That's not exactly what you asked for. The application can become inactive because of various other reasons too.
Bookmarks