summaryrefslogtreecommitdiffstats
path: root/kig/kig/kig_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/kig/kig_part.cpp')
-rw-r--r--kig/kig/kig_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/kig/kig_part.cpp b/kig/kig/kig_part.cpp
index fa7a9f6b..4ccbb62b 100644
--- a/kig/kig/kig_part.cpp
+++ b/kig/kig/kig_part.cpp
@@ -563,8 +563,8 @@ void KigPart::delObjects( const std::vector<ObjectHolder*>& os )
void KigPart::enableConstructActions( bool enabled )
{
for_each( aActions.begin(), aActions.end(),
- bind2nd( mem_fun( &TDEAction::setEnabled ),
- enabled ) );
+ std::bind( mem_fn( &TDEAction::setEnabled ),
+ std::placeholders::_1, enabled ) );
}
void KigPart::unplugActionLists()