diff --git a/src/plugins/texteditor/completionwidget.cpp b/src/plugins/texteditor/completionwidget.cpp index fb766e2d20f5624aa93db58e355f563d9c0e482c..335d998a5b98a907c7d1adc1fe653f5794c7bfaf 100644 --- a/src/plugins/texteditor/completionwidget.cpp +++ b/src/plugins/texteditor/completionwidget.cpp @@ -117,9 +117,11 @@ CompletionWidget::CompletionWidget(CompletionSupport *support, ITextEditable *ed this, SLOT(completionActivated(const QModelIndex &))); // We disable the frame on this list view and use a QFrame around it instead. - // This fixes the missing frame on Mac and improves the look with QGTKStyle. + // This improves the look with QGTKStyle. m_popupFrame = new QFrame(0, Qt::Popup); +#ifndef Q_WS_MAC m_popupFrame->setFrameStyle(frameStyle()); +#endif setFrameStyle(QFrame::NoFrame); setParent(m_popupFrame); m_popupFrame->setObjectName("m_popupFrame");