SHA256
1
0
forked from pool/purpose

Accepting request 336046 from KDE:Frameworks5

- Update to 1.0
  * No changelog provided
- Drop build.patch, upstreamed

OBS-URL: https://build.opensuse.org/request/show/336046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/purpose?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2015-10-19 20:16:20 +00:00 committed by Git OBS Bridge
commit 92ef6875d6
5 changed files with 12 additions and 33 deletions

View File

@ -1,26 +0,0 @@
diff --git a/src/plugins/reviewboard/quick/rbrepositoriesmodel.h b/src/plugins/reviewboard/quick/rbrepositoriesmodel.h
index 9a1a568..cd27015 100644
--- a/src/plugins/reviewboard/quick/rbrepositoriesmodel.h
+++ b/src/plugins/reviewboard/quick/rbrepositoriesmodel.h
@@ -54,7 +54,7 @@ private:
struct Value {
QVariant name;
QVariant path;
- bool operator<(const Value &v1) {
+ bool operator<(const Value &v1) const {
return name.toString() < v1.name.toString();
}
};
diff --git a/src/widgets/menu.cpp b/src/widgets/menu.cpp
index 8e6309f..6dc9974 100644
--- a/src/widgets/menu.cpp
+++ b/src/widgets/menu.cpp
@@ -62,7 +62,7 @@ Menu::Menu(QWidget* parent)
: QMenu(parent)
, d_ptr(new MenuPrivate(this))
{
- connect(d_ptr->m_model, &AlternativesModel::inputDataChanged, this, &Menu::reload);
+ connect(d_ptr->m_model.data(), &AlternativesModel::inputDataChanged, this, &Menu::reload);
connect(this, &QMenu::triggered, this, [this](QAction* action) {
Q_D(Menu);
d->trigger(action->property("row").toInt());

3
purpose-1.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f025294333f7cf5931dabf0f4dc0abeb9e41a2b25d4af86e1b63eada82980702
size 61752

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e932bc00d42c10f5f61b764bb9c61412483bf7f544a8ee6fcde28035cbd4d824
size 61248

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Oct 3 09:24:31 UTC 2015 - hrvoje.senjan@gmail.com
- Update to 1.0
* No changelog provided
- Drop build.patch, upstreamed
-------------------------------------------------------------------
Tue Aug 18 16:08:53 UTC 2015 - hrvoje.senjan@gmail.com

View File

@ -17,10 +17,10 @@
Name: purpose
Version: 1.0~rc1
Version: 1.0
Release: 0
%define kf5_version 5.7.0
%define rversion 1.0rc1
%define rversion 1.0
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.7.0
BuildRequires: intltool
@ -44,7 +44,6 @@ Group: System/GUI/KDE
Url: http://www.kde.org
Source: %{name}-%{rversion}.tar.xz
Source1: baselibs.conf
Patch0: build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -64,7 +63,6 @@ Development files.
%lang_package
%prep
%setup -q -n %{name}-%{rversion}
%patch0 -p1
%build
%cmake_kf5 -d build