RESOLVED FIXED Bug 39771
[Qt] PasteboardQt.cpp has coding-style errors
https://bugs.webkit.org/show_bug.cgi?id=39771
Summary [Qt] PasteboardQt.cpp has coding-style errors
Anders Bakken
Reported 2010-05-26 13:33:24 PDT
WebCore/platform/qt/PasteboardQt.cpp:36: Alphabetical sorting problem. [build/include_order] [4] WebCore/platform/qt/PasteboardQt.cpp:39: Alphabetical sorting problem. [build/include_order] [4] WebCore/platform/qt/PasteboardQt.cpp:41: Alphabetical sorting problem. [build/include_order] [4] WebCore/platform/qt/PasteboardQt.cpp:138: _url is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 4 in 1 files
Attachments
Patch that fixes the coding style issues (2.69 KB, patch)
2010-05-26 14:38 PDT, Anders Bakken
no flags
Patch (2.78 KB, patch)
2010-06-04 20:13 PDT, Anders Bakken
no flags
Patch (3.46 KB, patch)
2011-01-08 07:52 PST, Benjamin Poulain
no flags
Anders Bakken
Comment 1 2010-05-26 14:38:40 PDT
Created attachment 57151 [details] Patch that fixes the coding style issues
Petri Ojala
Comment 2 2010-05-26 21:48:18 PDT
Qt, QtTriaged
David Levin
Comment 3 2010-05-27 11:17:21 PDT
Comment on attachment 57151 [details] Patch that fixes the coding style issues > No new tests. (OOPS!) Ditto.
Anders Bakken
Comment 4 2010-06-04 20:13:54 PDT
Eric Seidel (no email)
Comment 5 2010-06-04 22:06:33 PDT
Comment on attachment 57948 [details] Patch I don't understand this change: 47 QApplication::clipboard()->setMimeData(md, m_selectionMode ? 148 QClipboard::Selection : QClipboard::Clipboard); 148 QClipboard::Selection : QClipboard::Clipboard); do we have a style rule about wrapping? I don't think so. I would rather use a temporary for that line to make it more clear instead of such strange indent.
David Levin
Comment 6 2010-06-14 11:33:08 PDT
Comment on attachment 57948 [details] Patch Please consider Eric's comment.
Benjamin Poulain
Comment 7 2011-01-07 11:41:39 PST
Anders, what is the status of this?
Benjamin Poulain
Comment 8 2011-01-08 07:52:44 PST
WebKit Commit Bot
Comment 9 2011-01-08 18:13:37 PST
Comment on attachment 78310 [details] Patch Clearing flags on attachment: 78310 Committed r75339: <http://trac.webkit.org/changeset/75339>
WebKit Commit Bot
Comment 10 2011-01-08 18:13:44 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.