Editor: update autocompleter list width.

The width of the List view showing the
autocompleter proposals is now adjusted
when scrolling.

Task-number: QTCREATORBUG-7185

Change-Id: I5b26ef6195d389b30fdf0964bebd9c2f33056c66
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
David Schulz
2012-09-04 16:00:32 +02:00
committed by Leandro Melo
parent db8a20bc57
commit 498f4450fe
2 changed files with 15 additions and 6 deletions

View File

@@ -60,10 +60,12 @@ public:
private:
bool updateAndCheck(const QString &prefix);
void updatePositionAndSize();
void notifyActivation(int index);
void abort();
private slots:
void updatePositionAndSize();
protected:
virtual bool eventFilter(QObject *o, QEvent *e);