mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06: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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user