diff --git a/ChangeLog b/ChangeLog
index 207b371b0..4da3de025 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
1.4.0
-----
1. Allow setting of custom device name for UMS and MTP devices.
+2. Allow to use table-view for earch results.
1.3.0
-----
diff --git a/gui/interfacesettings.cpp b/gui/interfacesettings.cpp
index 4ea630fe6..09fac5222 100644
--- a/gui/interfacesettings.cpp
+++ b/gui/interfacesettings.cpp
@@ -100,6 +100,8 @@ InterfaceSettings::InterfaceSettings(QWidget *p)
addViewTypes(albumsView, true);
addViewTypes(folderView);
addViewTypes(playlistsView, false, true, true);
+ searchView->addItem(i18n("List"), ItemView::Mode_List);
+ searchView->addItem(i18n("Table"), ItemView::Mode_Table);
addView(i18n("Play queue"), QLatin1String("PlayQueuePage"));
addView(i18n("Artists"), QLatin1String("LibraryPage"));
@@ -208,6 +210,8 @@ void InterfaceSettings::load()
showDeleteAction->setChecked(Settings::self()->showDeleteAction());
selectEntry(devicesView, Settings::self()->devicesView());
#endif
+ selectEntry(searchView, Settings::self()->searchView());
+
playQueueGrouped->setCurrentIndex(Settings::self()->playQueueGrouped() ? 0 : 1);
playQueueAutoExpand->setChecked(Settings::self()->playQueueAutoExpand());
playQueueStartClosed->setChecked(Settings::self()->playQueueStartClosed());
@@ -285,6 +289,7 @@ void InterfaceSettings::save()
Settings::self()->saveShowDeleteAction(showDeleteAction->isChecked());
Settings::self()->saveDevicesView(getValue(devicesView));
#endif
+ Settings::self()->saveSearchView(getValue(searchView));
Settings::self()->savePlayQueueGrouped(constPlayQueueGrouped==playQueueGrouped->currentIndex());
Settings::self()->savePlayQueueAutoExpand(playQueueAutoExpand->isChecked());
Settings::self()->savePlayQueueStartClosed(playQueueStartClosed->isChecked());
diff --git a/gui/interfacesettings.ui b/gui/interfacesettings.ui
index 555b27f2e..b034ea674 100644
--- a/gui/interfacesettings.ui
+++ b/gui/interfacesettings.ui
@@ -11,16 +11,7 @@
-
- 0
-
-
- 0
-
-
- 0
-
-
+
0
-
@@ -422,6 +413,16 @@ within the folder of the current track, or within its parent folder. If no image
-
+ -
+
+
+ Search view style:
+
+
+
+ -
+
+
@@ -519,15 +520,15 @@ within the folder of the current track, or within its parent folder. If no image
-
+
+ false
+
0
0
-
- false
-
-
@@ -544,6 +545,9 @@ within the folder of the current track, or within its parent folder. If no image
-
+
+ false
+
20
@@ -559,22 +563,19 @@ within the folder of the current track, or within its parent folder. If no image
1
-
- false
-
-
+
+ false
+
10px
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- false
-
@@ -593,6 +594,9 @@ within the folder of the current track, or within its parent folder. If no image
-
+
+ false
+
100
@@ -608,22 +612,19 @@ within the folder of the current track, or within its parent folder. If no image
10
-
- false
-
-
+
+ false
+
40%
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- false
-