Skip to content

Commit

Permalink
Fix the segfault when compare snapshot is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
gnufied committed Jan 7, 2015
1 parent 93e0824 commit 7433525
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rbkit-lib/ui/aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>504</width>
<height>197</height>
<height>211</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -91,7 +91,7 @@
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.codemancers.com&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0057ae;&quot;&gt;http://www.codemancers.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://rbkit.codemancers.com&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0057ae;&quot;&gt;http://rbkit.codemancers.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
Expand Down
2 changes: 1 addition & 1 deletion rbkit-lib/ui/diffviewform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void DiffViewForm::treeNodeSelected(const QModelIndex &index)
RBKit::BaseHeapItem *nodeItem = static_cast<RBKit::BaseHeapItem *>(sourceIndex.internalPointer());
if (nodeItem != NULL) {
parentWindow->statusBar()->showMessage(nodeItem->leadingIdentifier());
if (parentViewForm == 0) {
if (!parentViewForm) {
initializeParentView();
}
updateParentView(nodeItem);
Expand Down

0 comments on commit 7433525

Please sign in to comment.