We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd1751 commit c26cfe2Copy full SHA for c26cfe2
src/gui/qgssublayersdialog.cpp
@@ -153,14 +153,14 @@ int QgsSublayersDialog::exec()
153
// if we got here, disable override cursor, open dialog and return result
154
// TODO add override cursor where it is missing (e.g. when opening via "Add Raster")
155
QCursor cursor;
156
- bool override = ( QApplication::overrideCursor() != 0 );
157
- if ( override )
+ bool overrideCursor = ( QApplication::overrideCursor() != 0 );
+ if ( overrideCursor )
158
{
159
cursor = QCursor( * QApplication::overrideCursor() );
160
QApplication::restoreOverrideCursor();
161
}
162
int ret = QDialog::exec();
163
164
QApplication::setOverrideCursor( cursor );
165
return ret;
166
0 commit comments