Skip to content

Commit

Permalink
Added debug logging of application name and window title.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbackus committed Sep 5, 2016
1 parent e39931c commit 0659260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/autoprofilewatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ void AutoProfileWatcher::runAppCheck()
currentAppWindowTitle = nowWindowName;
//currentApplication = appLocation;

Logger::LogDebug(QObject::tr("Active window now \"%1\" (\"%2\").").
arg(currentAppWindowTitle, currentApplication));

QSet<AutoProfileInfo*> fullSet;

if (!appLocation.isEmpty() && appProfileAssignments.contains(appLocation))
Expand Down

0 comments on commit 0659260

Please sign in to comment.