mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 06:23:35 +02:00
couple small changes
This commit is contained in:
parent
06def41764
commit
fe82d33b76
1 changed files with 5 additions and 4 deletions
|
@ -99,7 +99,7 @@ LogDialog::LogDialog(QWidget* parent, AbstractLoggerInterface* logger) : BaseLog
|
||||||
_filterDropdown->addItem("hifi.ui");
|
_filterDropdown->addItem("hifi.ui");
|
||||||
_filterDropdown->addItem("hifi.avatars");
|
_filterDropdown->addItem("hifi.avatars");
|
||||||
|
|
||||||
connect(_filterDropdown, SIGNAL(_filterDropdown->currentIndexChanged(int)),this, SLOT(handleFilterDropdownChanged(int)));
|
connect(_filterDropdown, SIGNAL(currentIndexChanged(int)),this, SLOT(handleFilterDropdownChanged(int)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void LogDialog::resizeEvent(QResizeEvent* event) {
|
void LogDialog::resizeEvent(QResizeEvent* event) {
|
||||||
|
@ -145,10 +145,11 @@ void LogDialog::handleCriticalPrintBox(int state) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void LogDialog::handleFilterDropdownChanged(int selection) {
|
void LogDialog::handleFilterDropdownChanged(int selection) {
|
||||||
printf("%s\n", "Handle it!!!!!");
|
|
||||||
if (selection != 0) {
|
if (selection != 0) {
|
||||||
_filterSelection = "[" + _filterDropdown->currentText + "]";
|
_filterSelection = "[" + _filterDropdown->currentText() + "]";
|
||||||
printf("%s\n", selection);
|
}
|
||||||
|
else {
|
||||||
|
_filterSelection = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue