this should be the diff to be tested: diff --git a/softwareproperties/qt/SoftwarePropertiesQt.py b/softwareproperties/qt/SoftwarePropertiesQt.py index 8172e25..b210323 100644 --- a/softwareproperties/qt/SoftwarePropertiesQt.py +++ b/softwareproperties/qt/SoftwarePropertiesQt.py @@ -709,8 +709,7 @@ class SoftwarePropertiesQt(SoftwareProperties): home = QDir.homePath() if "SUDO_USER" in os.environ: home = os.path.expanduser("~%s" % os.environ["SUDO_USER"]) - url = KUrl.fromPath(home) - filename = KFileDialog.getOpenFileName(url, 'application/pgp-keys', self.userinterface, _("Import key")) + filename = QFileDialog.getOpenFileName(self.userinterface, _("Import key"), home, 'application/pgp-keys') if filename: if not self.add_key(filename): title = _("Error importing selected file")
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1795278 Title: software-properties-{qt,kde} attempts to use KUrl but it doesn't exist To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs