Commit 33e96aea authored by Christian Loose's avatar Christian Loose

small cleanup

svn path=/trunk/kdesdk/cervisia/; revision=199726
parent 18bde7ee
......@@ -618,14 +618,12 @@ void CervisiaPart::slotOpenSandbox()
void CervisiaPart::slotChangeLog()
{
// Modal dialog
ChangeLogDialog *l = new ChangeLogDialog();
if (l->readFile(sandbox + "/ChangeLog"))
ChangeLogDialog dlg(widget());
if (dlg.readFile(sandbox + "/ChangeLog"))
{
if (l->exec())
changelogstr = l->message();
if (dlg.exec())
changelogstr = dlg.message();
}
delete l;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment