1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-30 11:04:57 +01:00

Re-enable a few disabled features from the Qocoa porting.

This commit is contained in:
John Maguire 2012-06-28 12:35:20 +02:00
parent e928ac0349
commit b01a0de8d6
2 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ LibraryFilterWidget::LibraryFilterWidget(QWidget *parent)
delay_behaviour_(DelayedOnLargeLibraries) delay_behaviour_(DelayedOnLargeLibraries)
{ {
ui_->setupUi(this); ui_->setupUi(this);
//connect(ui_->filter, SIGNAL(returnPressed()), SIGNAL(ReturnPressed())); connect(ui_->filter, SIGNAL(returnPressed()), SIGNAL(ReturnPressed()));
connect(filter_delay_, SIGNAL(timeout()), SLOT(FilterDelayTimeout())); connect(filter_delay_, SIGNAL(timeout()), SLOT(FilterDelayTimeout()));
filter_delay_->setInterval(kFilterDelay); filter_delay_->setInterval(kFilterDelay);

View File

@ -209,8 +209,8 @@ void PlaylistContainer::SetViewModel(Playlist* playlist) {
did_you_mean()->hide(); did_you_mean()->hide();
// Implement special playlist behaviour // Implement special playlist behaviour
//const SpecialPlaylistType* type = manager_->GetPlaylistType(playlist->special_type()); const SpecialPlaylistType* type = manager_->GetPlaylistType(playlist->special_type());
//ui_->filter->setHint(type->search_hint_text(playlist)); ui_->filter->setPlaceholderText(type->search_hint_text(playlist));
} }
void PlaylistContainer::ActivePlaying() { void PlaylistContainer::ActivePlaying() {
@ -420,8 +420,8 @@ void PlaylistContainer::resizeEvent(QResizeEvent* e) {
} }
void PlaylistContainer::FocusOnFilter(QKeyEvent *event) { void PlaylistContainer::FocusOnFilter(QKeyEvent *event) {
//ui_->filter->setFocus(); ui_->filter->setFocus();
//QApplication::sendEvent(ui_->filter, event); QApplication::sendEvent(ui_->filter, event);
} }
void PlaylistContainer::RepositionNoMatchesLabel(bool force) { void PlaylistContainer::RepositionNoMatchesLabel(bool force) {