author | sandman <sandman> | 2002-11-01 13:16:11 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-11-01 13:16:11 (UTC) |
commit | 6e4730b8485d3481d554dc8c079722ee1236f375 (patch) (unidiff) | |
tree | 087312aec3d7c89e8a70bccd094d706f09d73016 | |
parent | 287f8a39e757e87a840fbffce258ee03c6b62161 (diff) | |
download | opie-6e4730b8485d3481d554dc8c079722ee1236f375.zip opie-6e4730b8485d3481d554dc8c079722ee1236f375.tar.gz opie-6e4730b8485d3481d554dc8c079722ee1236f375.tar.bz2 |
No sorting required for theme list
-rw-r--r-- | noncore/styles/theme/themeset.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/styles/theme/themeset.cpp b/noncore/styles/theme/themeset.cpp index 4a4efcb..d4005bc 100644 --- a/noncore/styles/theme/themeset.cpp +++ b/noncore/styles/theme/themeset.cpp | |||
@@ -51,3 +51,3 @@ class MyItem : public QListViewItem | |||
51 | public: | 51 | public: |
52 | MyItem ( QListView *lv, const QString &name, const QString &comm, const QString &theme ) : QListViewItem ( lv, name, comm ) | 52 | MyItem ( QListView *lv, QListViewItem *after, const QString &name, const QString &comm, const QString &theme ) : QListViewItem ( lv, after, name, comm ) |
53 | { | 53 | { |
@@ -82,5 +82,6 @@ ThemeSettings::ThemeSettings ( QWidget* parent, const char *name, WFlags fl ) | |||
82 | m_list-> setAllColumnsShowFocus ( true ); | 82 | m_list-> setAllColumnsShowFocus ( true ); |
83 | m_list-> setSorting ( -1 ); | ||
83 | vbox-> addWidget ( m_list, 10 ); | 84 | vbox-> addWidget ( m_list, 10 ); |
84 | 85 | ||
85 | QListViewItem *item = new MyItem ( m_list, tr( "[No theme]" ), "", "" ); | 86 | QListViewItem *item = new MyItem ( m_list, 0, tr( "[No theme]" ), "", "" ); |
86 | m_list-> setSelected ( item, true ); | 87 | m_list-> setSelected ( item, true ); |
@@ -102,3 +103,3 @@ ThemeSettings::ThemeSettings ( QWidget* parent, const char *name, WFlags fl ) | |||
102 | 103 | ||
103 | item = new MyItem ( m_list, name, comm, fname ); | 104 | item = new MyItem ( m_list, item, name, comm, fname ); |
104 | if ( active == fname ) { | 105 | if ( active == fname ) { |