Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
a730d311
Commit
a730d311
authored
Feb 10, 2012
by
Jekyll Wu
Browse files
Rename and move around
parent
a20a84ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Filter.cpp
View file @
a730d311
...
...
@@ -481,13 +481,10 @@ void FilterObject::activated()
}
QList
<
QAction
*>
UrlFilter
::
HotSpot
::
actions
()
{
QList
<
QAction
*>
list
;
const
UrlType
kind
=
urlType
();
QAction
*
openAction
=
new
QAction
(
_urlObject
);
QAction
*
copyAction
=
new
QAction
(
_urlObject
);;
const
UrlType
kind
=
urlType
();
Q_ASSERT
(
kind
==
StandardUrl
||
kind
==
Email
);
if
(
kind
==
StandardUrl
)
{
...
...
@@ -507,10 +504,11 @@ QList<QAction*> UrlFilter::HotSpot::actions()
QObject
::
connect
(
openAction
,
SIGNAL
(
triggered
())
,
_urlObject
,
SLOT
(
activated
()));
QObject
::
connect
(
copyAction
,
SIGNAL
(
triggered
())
,
_urlObject
,
SLOT
(
activated
()));
list
<<
openAction
;
list
<<
copyAction
;
QList
<
QAction
*>
actions
;
actions
<<
openAction
;
actions
<<
copyAction
;
return
list
;
return
actions
;
}
#include "Filter.moc"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment