Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 3.3.0-beta1
-
Windows 7 64 bit
MSVC 2010 32 bit
Description
- Have two simple instantiations in a source file without including the needed headers:
QMessageBox mb; QLabel l;
- Move the cursor to the word "QLabel" and press Alt+Enter.
You'll see a popup offering to "Add #include <QLabel>". - Press Escape.
- Move the cursor to the word "QMessageBox" and press Alt+Enter.
You'll see a popup offering to "Add #include <QMessageBox>". - Press Enter.
The said header line will be inserted. - Move the cursor to the word "QLabel" and press Alt+Enter.
You'll see a popup offering to "#include Header File".
Shouldn't the same popup be shown in steps 2 and 6?