Code in Trash::running() and Trash::show() is mostly duplicated. Code duplication could be avoided by creating a utility method that returns the first BamfWindow corresponding to the trash if it exists:
BamfWindow* firstWindow();
« Back to merge proposal
Code in Trash::running() and Trash::show() is mostly duplicated. Code duplication could be avoided by creating a utility method that returns the first BamfWindow corresponding to the trash if it exists:
BamfWindow* firstWindow();