diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-09-03 15:01:04 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-09-16 14:45:02 +0000 |
commit | 482b3959263651419bfe80b6fd102c85234f00cb (patch) | |
tree | 3738962f0404ee196ddd86d7269377c11058b341 /src/plugins/bookmarks/bookmarksplugin.h | |
parent | d2d883ce29091a50e57ab5fa7ae8e1aa36b6de18 (diff) | |
download | qt-creator-482b3959263651419bfe80b6fd102c85234f00cb.tar.gz |
Bookmarks: Do not allow setting bookmarks in temporary files
Those can never get triggered anyway as they point to a file without
any filename.
Change-Id: Id04aa2e63a7e6918269851df0cd41c7334bfc94c
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'src/plugins/bookmarks/bookmarksplugin.h')
-rw-r--r-- | src/plugins/bookmarks/bookmarksplugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bookmarks/bookmarksplugin.h b/src/plugins/bookmarks/bookmarksplugin.h index d0df7252a5..912b5787e1 100644 --- a/src/plugins/bookmarks/bookmarksplugin.h +++ b/src/plugins/bookmarks/bookmarksplugin.h @@ -63,7 +63,7 @@ public: void extensionsInitialized() {} private: - void updateActions(int stateMask); + void updateActions(bool enableToggle, int stateMask); void editorOpened(Core::IEditor *editor); void editorAboutToClose(Core::IEditor *editor); |