diff options
author | joerg <joerg> | 2011-11-25 22:13:29 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-11-25 22:13:29 +0000 |
commit | 477bc5fc7c63e61dc726a12e8f94738d7fb0e2b1 (patch) | |
tree | 548a01bc86fadbd8e44d8fa6896b0486b2ddc8fd /net/kphone/patches | |
parent | e98a8b7fc7dda1019738c06ae885d2968b170cb1 (diff) | |
download | pkgsrc-477bc5fc7c63e61dc726a12e8f94738d7fb0e2b1.tar.gz |
Fix C++ syntax
Diffstat (limited to 'net/kphone/patches')
-rw-r--r-- | net/kphone/patches/patch-kphone_kcallwidget.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/kphone/patches/patch-kphone_kcallwidget.cpp b/net/kphone/patches/patch-kphone_kcallwidget.cpp new file mode 100644 index 00000000000..21e6ffcbb3b --- /dev/null +++ b/net/kphone/patches/patch-kphone_kcallwidget.cpp @@ -0,0 +1,21 @@ +$NetBSD: patch-kphone_kcallwidget.cpp,v 1.1 2011/11/25 22:13:29 joerg Exp $ + +--- kphone/kcallwidget.cpp.orig 2011-11-25 19:09:05.000000000 +0000 ++++ kphone/kcallwidget.cpp +@@ -89,13 +89,10 @@ void KCallTransfer::slotCancel( void ) + } + + KCallWidget::KCallWidget( KSipAuthentication *auth, CallAudio *callaudio, SipCall *initcall, KPhoneView *parent, const char *name ) +- : call( initcall ), phoneView( parent ) ++ : QDialog( call->getSubject() == tr("Incoming call") ? NULL : parent, ++ name, FALSE, WStyle_DialogBorder), ++ call( initcall ),phoneView( parent ) + { +- if( call->getSubject() == tr("Incoming call") ) +- QDialog::QDialog( NULL, name, FALSE, WStyle_DialogBorder ); +- else +- QDialog::QDialog( parent, name, FALSE, WStyle_DialogBorder ); +- + sipauthentication = auth; + missedCalls.setAutoDelete( true ); + receivedCalls.setAutoDelete( true ); |