diff options
author | Daniel Nicoletti <mirttex85-pk@yahoo.com.br> | 2008-06-29 20:49:00 -0300 |
---|---|---|
committer | Daniel Nicoletti <mirttex85-pk@yahoo.com.br> | 2008-06-29 20:49:00 -0300 |
commit | e092734ef92b00b4a32a9be27f4e26582a41b5db (patch) | |
tree | b25603fbac4ccc4f293dcf353e159c02fbccbf26 | |
parent | a2978a884fe177daf9e5e9a9677fd9ee14bb015d (diff) |
This is the first beta
(almost released last one)
This fix the linking of polkit-dbus on the lib
and also ErrorConde on PkTransaction
-rwxr-xr-x | gui/AddRm/PkTransaction.cpp | 2 | ||||
-rw-r--r-- | lib/CMakeLists.txt | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gui/AddRm/PkTransaction.cpp b/gui/AddRm/PkTransaction.cpp index 173f4ef..2f36756 100755 --- a/gui/AddRm/PkTransaction.cpp +++ b/gui/AddRm/PkTransaction.cpp @@ -33,7 +33,7 @@ PkTransaction::PkTransaction( Transaction *trans, QString caption, QWidget *pare connect( m_trans, SIGNAL( GotPackage(Package *) ), this, SLOT( currPackage(Package *) ) ); connect( m_trans, SIGNAL( Finished(Exit::Value, uint) ), this, SLOT( Finished(Exit::Value, uint) ) ); connect( m_trans, SIGNAL( AllowCancel(bool) ), this, SLOT( enableButtonCancel(bool) ) ); - connect( m_trans, SIGNAL( ErrorCode(const QString&, const QString&) ), this, SLOT( ErrorCode(const QString&, const QString&) ) ); + connect( m_trans, SIGNAL( ErrorCode(Error::Value, const QString&) ), this, SLOT( ErrorCode(Error::Value, const QString&) ) ); connect( m_trans, SIGNAL( ProgressChanged(uint, uint, uint, uint) ), this, SLOT( ProgressChanged(uint, uint, uint, uint) ) ); connect( m_trans, SIGNAL( StatusChanged(Status::Value) ), this, SLOT( StatusChanged(Status::Value) ) ); diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 4c53cbd..59acc59 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -12,11 +12,11 @@ find_package(Qt4 REQUIRED) add_definitions(${QT_DEFINITIONS}) include(FindPkgConfig) -pkg_check_modules(POLICYKIT polkit-dbus) +pkg_check_modules(POLKIT polkit-dbus) include_directories( ${QT_INCLUDES} - ${POLICYKIT_INCLUDE_DIRS} + ${POLKIT_INCLUDE_DIRS} ) set( PK_LIB_SRCS @@ -53,6 +53,7 @@ set_target_properties( packagekit-qt PROPERTIES VERSION 0.1 SOVERSION 0 ) target_link_libraries(packagekit-qt ${QT_QTCORE_LIBRARY} + polkit-dbus ) install(TARGETS |