Skip to content

Commit

Permalink
Fix hyperlink not work bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackINT3 committed Sep 11, 2020
1 parent 4936717 commit 46d87ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/OpenArk/kernel/object/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ void KernelObject::InitObjectSectionsView()
{ 80, tr("SessionID") },
{ 80, tr("SessionName") },
};

SetDefaultTreeViewStyle(view, objsections_model_, proxy_objsections_, layout);
view->viewport()->installEventFilter(this);
view->installEventFilter(this);
Expand Down
13 changes: 8 additions & 5 deletions src/OpenArk/ui/kernel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<enum>QTabWidget::West</enum>
</property>
<property name="currentIndex">
<number>7</number>
<number>3</number>
</property>
<widget class="QWidget" name="tabKernelEntry">
<attribute name="title">
Expand Down Expand Up @@ -581,12 +581,15 @@
</spacer>
</item>
<item>
<widget class="QLabel" name="label_7">
<widget class="QLabel" name="vkCodeLabel">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;Virtual-Key Codes&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;a href=&quot;https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes&quot;&gt;Virtual-Key Codes&lt;/a&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
Expand Down Expand Up @@ -614,7 +617,7 @@
<item>
<widget class="QTabWidget" name="tabObject">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tabObjectTypes">
<property name="sizePolicy">
Expand Down Expand Up @@ -909,7 +912,7 @@
<item>
<widget class="QTabWidget" name="tabNetwork">
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="tabPort">
<attribute name="title">
Expand Down

0 comments on commit 46d87ea

Please sign in to comment.