In BoolAspect. Felt a bit too descriptive by now.
Change-Id: I0cf2eb88576da3d3741d146a8274cf8a85bc7c83
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
In line 860: `list.insert(it, elem);`
textdocumentlayout.cpp:860:17: Mixing iterators with
const_iterators [clazy-strict-iterators]
Change-Id: I2a9413552a6060157efcea79f274fee11086d34e
Reviewed-by: David Schulz <david.schulz@qt.io>
The wrong header was reported to the extraCompiler when AUTOUIC was set.
Fixes: QTCREATORBUG-28787
Change-Id: I92d37e56ee5e45229545184e4f4911764834ed67
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Previously, when a user attempted to switch sessions or quit Qt Creator,
a dialog would appear asking whether to continue running the current app.
The options were:
- Force Quit
- Keep Running
However, in Qt Creator 10, the 'Keep Running' button was mislabelled as 'Cancel',
which does not accurately represent its function.
This commit corrects this issue by reverting the button's text back to 'Keep Running'.
Change-Id: Ic48648baf6b166907d986d58e827cb52adfd551c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
keyboard navigation now works when you focus the tab without
requiring to also click on the treeview itself.
Fixes: QDS-10397
Change-Id: I2cda08365c1a68c72121166d4fd50f1786f913bc
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
as part of the reload operation we set the document to nullptr inside
TextBlockUserData::documentClosing, but we do not remove the mark from
the marks cache. So when a text mark gets deleted while a document is
reloaded the mark does not get readded to the document, but it wont get
removed from the marks cache inside the document either, so we have to
manually make sure the mark is removed from the cache in this situation.
Fixes: QTCREATORBUG-29432
Change-Id: I3ae4182c4d2bbd3426c1d7a60275d21ac20ea99a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
We didn't mean to execute empty dialog, but RevertDialog.
Add RevertDialog::revision() helper.
Amends 521a23df6e
Change-Id: I4c27baa0d5b2a9360048fd90e4feb1759c6363df
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Pass mod into vterm_keyboard_unichar(), instead of
unconditional VTERM_MOD_NONE.
Change-Id: I850c5cb6d00302e46cfce6e695e159a5ce99dafb
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
The QCache::insert() may delete the inserted object.
In this case it returns false. Make use of the returned
value and don't use the object anymore in false case.
Change-Id: I1519766f77fa5965268a327d3159a357135e142b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
The FancyMainWindow::dockWidgets() function did find all children,
even if there was another FancyMainWindow in the hierarchy with its own
dock widget children.
Change-Id: I44c2fe669d08a938e86e889caa570d2b19a0cac7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
in the session. The state of the editor views and editors was already
saved, but the history of editors was missing. Affects the open document
window (Ctrl+Tab).
Change-Id: I2ee8d96c27d8ab72022c6335d42455395380f124
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
For the special case when the Qt SDK Installer appends the same path to
the key.
Task-number: QTBUG-115754
Change-Id: I87d8f3d8074044f440ed3042bc5fe8356a6c429c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Don't insert widget into area twice as that corrupts the workspace.
Fixes: QDS-10351
Fixes: QDS-10388
Change-Id: Icacddf2a95243beee5d6314fbdc38e284639ecec
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
- Regenerated clangformatchecks for clang-format-16
- Updated clangformatconfigwidget for using new clangformatchecks
Fixes: QTCREATORBUG-29434
Change-Id: If308942b6fbe4cc2568acda6d421139175ac081a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
ShellIntegration previously ignored the initial and final flags of onOsc.
Change-Id: Ifa9594fba654cf543c117835fc182d4642dc70e4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Allows terminal apps like vim to set the clipboard, even from inside
an ssh/remote shell.
Change-Id: I1d068737ef65bb4541c3fc9c43870986865f1b45
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
After extensive
benchmarking(https://quick-bench.com/q/ajHEd5ZE-zmI2FoLQLGX9NREgmw)
there was a clear result that a forced inline variatic function provides
the fastest result.
static bool search(QByteArrayView input)
{
return CoreUtils::contains(input,
"children",
"data",
"childrenRect",
"icon",
"left",
"transform",
"visibleChildren");
}
Change-Id: Id492bb4351bf3e87fc8e85c2b99e8d2a9b3efd0d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Sets the background color for code blocks and for inline code (actually
for any fixed font text).
Change-Id: I1365111b38314a8e0a129aca35d754ad3f2f13bb
Reviewed-by: Cristian Adam <cristian.adam@qt.io>