Fix warnings in qtbase.
Change-Id: I981e08872440e35eb9bfad32b20543cfce8439c9 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>bb10
parent
7df980031b
commit
b895dfd641
|
|
@ -736,9 +736,6 @@ void QWindow::setWindowState(Qt::WindowState state)
|
|||
void QWindow::setTransientParent(QWindow *parent)
|
||||
{
|
||||
Q_D(QWindow);
|
||||
|
||||
QWindow *previousParent = d->transientParent;
|
||||
|
||||
d->transientParent = parent;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -847,6 +847,8 @@ QList<QPrinter::PaperSize> qt_getCupsPrinterPaperSizes(int cupsPrinterIndex)
|
|||
for (int j = 0; j < size->num_choices; ++j)
|
||||
result.append(string2PaperSize(size->choices[j].choice));
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(cupsPrinterIndex)
|
||||
#endif
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1162,7 +1162,6 @@ QFileInfo QDirModel::fileInfo(const QModelIndex &index) const
|
|||
|
||||
void QDirModelPrivate::init()
|
||||
{
|
||||
Q_Q(QDirModel);
|
||||
filters = QDir::AllEntries | QDir::NoDotAndDotDot;
|
||||
sort = QDir::Name;
|
||||
nameFilters << QLatin1String("*");
|
||||
|
|
|
|||
|
|
@ -8441,6 +8441,7 @@ void QWidget::mouseReleaseEvent(QMouseEvent *event)
|
|||
|
||||
void QWidget::mouseDoubleClickEvent(QMouseEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
}
|
||||
|
||||
#ifndef QT_NO_WHEELEVENT
|
||||
|
|
|
|||
Loading…
Reference in New Issue