mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 23:42:46 -07:00
Avoid type specifier mismatch
Qt5 uses `int` and Qt6 uses `qsizetype`, so use the stream version of `qDebug()` to avoid specifying types.
This commit is contained in:
parent
ca28fc27dc
commit
e45e29b431
3 changed files with 4 additions and 3 deletions
|
@ -412,7 +412,7 @@ void PropertiesWidget::saveSettings()
|
|||
sizes = hSplitter->sizes();
|
||||
else
|
||||
sizes = m_slideSizes;
|
||||
qDebug("Sizes: %d", sizes.size());
|
||||
|
||||
if (sizes.size() == 2)
|
||||
pref->setPropSplitterSizes(QString::number(sizes.first()) + ',' + QString::number(sizes.last()));
|
||||
pref->setPropFileListState(m_ui->filesList->header()->saveState());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue