summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-06-16 11:07:09 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-06-16 11:07:09 +0200
commitf08e08cff460fa8b78af3e3f9dc019a050ad76b2 (patch)
tree7a2b210073769d8fe9720fb570b62d15f8698534 /lib
parenta972a2aba8dc240eec4eccbff1e660a6dabfa86f (diff)
downloadabrt-f08e08cff460fa8b78af3e3f9dc019a050ad76b2.tar.gz
abrt-f08e08cff460fa8b78af3e3f9dc019a050ad76b2.tar.xz
abrt-f08e08cff460fa8b78af3e3f9dc019a050ad76b2.zip
GUI: don't require the rating for all reporters
- some reporters (logger, RHTSupport) doesn't require a good backtrace (so far only bz does) so gui shouldn't force user to have a good backtrace everytime
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/Bugzilla.cpp4
-rw-r--r--lib/Plugins/Bugzilla.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 94fd3838..b14c28fa 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -580,7 +580,8 @@ static map_plugin_settings_t parse_settings(const map_plugin_settings_t& pSettin
CReporterBugzilla::CReporterBugzilla() :
m_bNoSSLVerify(false),
m_sBugzillaURL("https://bugzilla.redhat.com"),
- m_sBugzillaXMLRPC("https://bugzilla.redhat.com"XML_RPC_SUFFIX)
+ m_sBugzillaXMLRPC("https://bugzilla.redhat.com"XML_RPC_SUFFIX),
+ m_bRatingRequired(true)
{}
CReporterBugzilla::~CReporterBugzilla()
@@ -854,6 +855,7 @@ const map_plugin_settings_t& CReporterBugzilla::GetSettings()
m_pSettings["Login"] = m_sLogin;
m_pSettings["Password"] = m_sPassword;
m_pSettings["NoSSLVerify"] = m_bNoSSLVerify ? "yes" : "no";
+ m_pSettings["RatingRequired"] = m_bRatingRequired ? "yes" : "no";
return m_pSettings;
}
diff --git a/lib/Plugins/Bugzilla.h b/lib/Plugins/Bugzilla.h
index cad00ef5..1c9a06e3 100644
--- a/lib/Plugins/Bugzilla.h
+++ b/lib/Plugins/Bugzilla.h
@@ -30,6 +30,7 @@ class CReporterBugzilla : public CReporter
std::string m_sBugzillaXMLRPC;
std::string m_sLogin;
std::string m_sPassword;
+ bool m_bRatingRequired;
public:
CReporterBugzilla();