Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcrashreporter-gui/CrashReporter.cpp6
-rw-r--r--src/libcrashreporter-gui/CrashReporter.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/libcrashreporter-gui/CrashReporter.cpp b/src/libcrashreporter-gui/CrashReporter.cpp
index 1424d49..d11b4ae 100644
--- a/src/libcrashreporter-gui/CrashReporter.cpp
+++ b/src/libcrashreporter-gui/CrashReporter.cpp
@@ -186,6 +186,12 @@ CrashReporter::setText( const QString& text )
}
void
+CrashReporter::setComment( const QString &text )
+{
+ m_ui->commentTextEdit->setPlainText(text);
+}
+
+void
CrashReporter::setBottomText( const QString& text )
{
m_ui->bottomLabel->setText(text);
diff --git a/src/libcrashreporter-gui/CrashReporter.h b/src/libcrashreporter-gui/CrashReporter.h
index 3344c11..4a3bfa6 100644
--- a/src/libcrashreporter-gui/CrashReporter.h
+++ b/src/libcrashreporter-gui/CrashReporter.h
@@ -47,6 +47,7 @@ public:
void setLogo(const QPixmap& logo);
void setText(const QString& text);
+ void setComment(const QString& text);
void setBottomText(const QString& text);
void setReportData(const QByteArray& name, const QByteArray& content);