diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2016-09-30 11:41:07 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2016-10-04 07:37:12 +0000 |
| commit | d6b6c15d338320a8f9fb3299121c3b338f2b6481 (patch) | |
| tree | 5f30da8d8f4932f488b72871ef88838fd477bcde /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | c62f71722639c39f210ddbec0c4d832521b3f187 (diff) | |
QFileSystemModel: fix unused variable with QT_NO_FILESYSTEMWATCHER
The QFileInfo 'info' is only used in code conditional on
QT_NO_FILESYSTEMWATCHER, so move the definiton into the
conditionally-compiled block, too.
Turn it into an rvalue while at it.
Change-Id: I9983bfdcd0b32d0abecf7c588973a60df9de8cbc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
