Accepting request 55853 from KDE:Distro:Factory

Accepted submit request 55853 from user wstephenson

OBS-URL: https://build.opensuse.org/request/show/55853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tellico?expand=0&rev=35
This commit is contained in:
Berthold Gunreben 2010-12-14 10:08:33 +00:00 committed by Git OBS Bridge
parent ea2d57a973
commit 76e5ff2ec8
3 changed files with 23 additions and 1 deletions

16
save.diff Normal file
View File

@ -0,0 +1,16 @@
--- trunk/extragear/office/tellico/src/detailedlistview.cpp 2010/11/11 05:02:55 1195445
+++ trunk/extragear/office/tellico/src/detailedlistview.cpp 2010/11/11 05:03:32 1195446
@@ -133,8 +133,13 @@
}
}
+ // we don't want to immediately hide all these columns when adding fields
+ disconnect(model(), SIGNAL(columnsInserted(const QModelIndex&, int, int)),
+ this, SLOT(hideNewColumn(const QModelIndex&, int, int)));
sourceModel()->setImagesAreAvailable(false);
sourceModel()->setFields(coll_->fields());
+ connect(model(), SIGNAL(columnsInserted(const QModelIndex&, int, int)),
+ this, SLOT(hideNewColumn(const QModelIndex&, int, int)));
// we're not using saveState() and restoreState() since our columns are variable
QStringList columnNames = config.readEntry(QLatin1String("ColumnNames") + configN, QStringList());

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 10 21:40:43 UTC 2010 - alinm.elena@gmail.com
- added patch for Bug 256373
-------------------------------------------------------------------
Mon Nov 8 15:53:57 UTC 2010 - tittiatcoke@gmail.com

View File

@ -27,6 +27,7 @@ Release: 1
License: GPLv2+
Group: Productivity/Other
Source: %{name}-%{version}.tar.bz2
Patch: save.diff
Provides: bookcase
Obsoletes: bookcase
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -48,7 +49,7 @@ coins, stamps, trading cards, comic books, and wines.
%lang_package
%prep
%setup -q
%patch -p 4
%build
%cmake_kde4 -d build
%make_jobs