Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
14ed0bd9
Commit
14ed0bd9
authored
Jun 25, 2010
by
Robert Loehning
Browse files
Copying path with native separators to clipboard.
parent
830686f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editortoolbar.cpp
View file @
14ed0bd9
...
...
@@ -276,7 +276,7 @@ void EditorToolBar::listContextMenu(QPoint pos)
QMenu
menu
;
menu
.
addAction
(
tr
(
"Copy full path to clipboard"
));
if
(
menu
.
exec
(
m_editorList
->
mapToGlobal
(
pos
)))
{
QApplication
::
clipboard
()
->
setText
(
fileName
);
QApplication
::
clipboard
()
->
setText
(
QDir
::
toNativeSeparators
(
fileName
)
)
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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