mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
readded used "unused" variable
This commit is contained in:
parent
0e3ab64bd2
commit
5cd067aab0
|
@ -74,6 +74,13 @@ AdvancedPage::AdvancedPage()
|
||||||
// Logs end
|
// Logs end
|
||||||
|
|
||||||
// Timeoutbuttons
|
// Timeoutbuttons
|
||||||
|
QStringList unitsForDropdown = QStringList();
|
||||||
|
unitsForDropdown.append("s");
|
||||||
|
unitsForDropdown.append("m");
|
||||||
|
unitsForDropdown.append("h");
|
||||||
|
unitsForDropdown.append("d");
|
||||||
|
unitsForDropdown.append("w");
|
||||||
|
|
||||||
std::vector<QString> durationsPerUnit =
|
std::vector<QString> durationsPerUnit =
|
||||||
getSettings()->timeoutDurationsPerUnit;
|
getSettings()->timeoutDurationsPerUnit;
|
||||||
std::vector<QString>::iterator itDurationPerUnit;
|
std::vector<QString>::iterator itDurationPerUnit;
|
||||||
|
@ -128,7 +135,7 @@ AdvancedPage::AdvancedPage()
|
||||||
|
|
||||||
QComboBox *timeoutDurationUnit = *itUnitInput;
|
QComboBox *timeoutDurationUnit = *itUnitInput;
|
||||||
timeoutDurationUnit->setObjectName(QString::number(i));
|
timeoutDurationUnit->setObjectName(QString::number(i));
|
||||||
timeoutDurationUnit->addItems(units);
|
timeoutDurationUnit->addItems(unitsForDropdown);
|
||||||
timeoutDurationUnit->setCurrentText(*itUnit);
|
timeoutDurationUnit->setCurrentText(*itUnit);
|
||||||
timeout.append(timeoutDurationUnit);
|
timeout.append(timeoutDurationUnit);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue