openWin();
}
}
+
+void RepoView::on_actionRe_import_HAM_repo_settings_triggered()
+{
+ ConfirmDialog d(true, this);
+ d.setText("Confirm repository import","You're about to re-read the repository settings from Hildon Application Manager. This will import the "
+ "repositories that are currently enabled in HAM and it will clear your current repository settings here. Continue?");
+ if( d.exec() )
+ {
+ QFile r(KOwnRepoFile);
+ QFile n(KOwnRepoNamesFile);
+ r.remove();
+ n.remove();
+ iAptInterface->readRepositoryInfo();
+ iModified = true;
+ openWin(); // refresh view
+ }
+}