summaryrefslogtreecommitdiff
path: root/src/problemsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/problemsdialog.cpp')
-rw-r--r--src/problemsdialog.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/problemsdialog.cpp b/src/problemsdialog.cpp
index 1e8e800f..ea23beec 100644
--- a/src/problemsdialog.cpp
+++ b/src/problemsdialog.cpp
@@ -29,6 +29,12 @@ ProblemsDialog::~ProblemsDialog()
delete ui;
}
+int ProblemsDialog::exec()
+{
+ GeometrySaver gs(Settings::instance(), this);
+ return QDialog::exec();
+}
+
void ProblemsDialog::runDiagnosis()
{
m_hasProblems = false;
@@ -96,7 +102,7 @@ void ProblemsDialog::startFix()
{
QObject *fixButton = QObject::sender();
if (fixButton == NULL) {
- qWarning("no button");
+ log::warn("no button");
return;
}
IPluginDiagnose *plugin = reinterpret_cast<IPluginDiagnose*>(fixButton ->property("fix").value<void*>());
@@ -106,5 +112,5 @@ void ProblemsDialog::startFix()
void ProblemsDialog::urlClicked(const QUrl &url)
{
- shell::OpenLink(url);
+ shell::Open(url);
}