mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 10:53:34 +02:00
Merge branch 'log-filter2' of https://github.com/RebeccaStankus/hifi into log-filter2
This commit is contained in:
commit
94d19d5e79
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.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) {
|
||||
|
@ -145,10 +145,11 @@ void LogDialog::handleCriticalPrintBox(int state) {
|
|||
}
|
||||
|
||||
void LogDialog::handleFilterDropdownChanged(int selection) {
|
||||
printf("%s\n", "Handle it!!!!!");
|
||||
if (selection != 0) {
|
||||
_filterSelection = "[" + _filterDropdown->currentText + "]";
|
||||
printf("%s\n", selection);
|
||||
_filterSelection = "[" + _filterDropdown->currentText() + "]";
|
||||
}
|
||||
else {
|
||||
_filterSelection = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue