Skip to content

Commit c26cfe2

Browse files
committed
replace more override identifiers
1 parent fdd1751 commit c26cfe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gui/qgssublayersdialog.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ int QgsSublayersDialog::exec()
153153
// if we got here, disable override cursor, open dialog and return result
154154
// TODO add override cursor where it is missing (e.g. when opening via "Add Raster")
155155
QCursor cursor;
156-
bool override = ( QApplication::overrideCursor() != 0 );
157-
if ( override )
156+
bool overrideCursor = ( QApplication::overrideCursor() != 0 );
157+
if ( overrideCursor )
158158
{
159159
cursor = QCursor( * QApplication::overrideCursor() );
160160
QApplication::restoreOverrideCursor();
161161
}
162162
int ret = QDialog::exec();
163-
if ( override )
163+
if ( overrideCursor )
164164
QApplication::setOverrideCursor( cursor );
165165
return ret;
166166
}

0 commit comments

Comments
 (0)