diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-03-01 13:11:40 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-07-18 02:20:05 +0000 |
commit | 9e6d3a8c9adc185319e791a0bffd95601f8cb051 (patch) | |
tree | bfd4d2b1661ca2a58109669d19458049039509b8 /src | |
parent | 58e4bbc83f4cd9ee2b87eff34403ac52b069aa1f (diff) |
Fix GCC 4.9 warning about repeated attributes
qxcbscreen.cpp:701:21: error: ‘QDebug operator<<(QDebug, const
QXcbScreen*)’: visibility attribute ignored because it
qxcbscreen.h:149:21: error: conflicts with previous declaration here [-
Werror=attributes]
Change-Id: Ia0aac2f09e9245339951ffff13c77c23cb9430c5
Reviewed-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp b/src/plugins/platforms/xcb/qxcbscreen.cpp index c7f811491c..3dcd6a713a 100644 --- a/src/plugins/platforms/xcb/qxcbscreen.cpp +++ b/src/plugins/platforms/xcb/qxcbscreen.cpp @@ -760,7 +760,7 @@ static inline void formatSizeF(QDebug &debug, const QSizeF s) debug << s.width() << 'x' << s.height() << "mm"; } -Q_XCB_EXPORT QDebug operator<<(QDebug debug, const QXcbScreen *screen) +QDebug operator<<(QDebug debug, const QXcbScreen *screen) { const QDebugStateSaver saver(debug); debug.nospace(); |