.clang-format: wrap at column 100

This commit is contained in:
Sergio Martins
2022-08-05 16:49:00 +01:00
parent 9a4daf8926
commit d8189e3e03
460 changed files with 12883 additions and 5357 deletions

View File

@@ -41,11 +41,13 @@ using namespace KDDockWidgets::Views;
namespace KDDockWidgets {
static Controller *controllerForItem(QQuickItem *item)
{
// KDDW deals in views, but sometimes we might get a native type like QWidget, for example if you call
// someview->window(). This function let's us retrieve the actual controller of the stray QWidget.
// KDDW deals in views, but sometimes we might get a native type like QWidget, for example if
// you call someview->window(). This function let's us retrieve the actual controller of the
// stray QWidget.
for (int i = int(Type::FIRST); i <= int(::Type::LAST); i *= 2) {
// Using a for+switch pattern so that compiler reminds us if new enumerators are added to enum
// Using a for+switch pattern so that compiler reminds us if new enumerators are added to
// enum
switch (Type(i)) {
case Type::Frame:
if (auto view = qobject_cast<Group_qtquick *>(item))