|
|
@ -252,7 +252,7 @@ template<class T> KDialogBase* SvnActions::createDialog(T**ptr,const TQString&_h
|
|
|
|
buttons = buttons|KDialogBase::User1;
|
|
|
|
buttons = buttons|KDialogBase::User1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
KDialogBase * dlg = new KDialogBase(
|
|
|
|
KDialogBase * dlg = new KDialogBase(
|
|
|
|
modal?TQT_TQWIDGET(TQT_TQWIDGET(KApplication::activeModalWidget())):0, // parent
|
|
|
|
modal?TQT_TQWIDGET(TQT_TQWIDGET(TDEApplication::activeModalWidget())):0, // parent
|
|
|
|
name, // name
|
|
|
|
name, // name
|
|
|
|
modal, // modal
|
|
|
|
modal, // modal
|
|
|
|
_head, // caption
|
|
|
|
_head, // caption
|
|
|
@ -483,7 +483,7 @@ void SvnActions::makeLog(const svn::Revision&start,const svn::Revision&end,const
|
|
|
|
kdDebug()<<"getting logs..."<<endl;
|
|
|
|
kdDebug()<<"getting logs..."<<endl;
|
|
|
|
svn::SharedPointer<svn::LogEntriesMap> logs = getLog(start,end,peg,which,list_files,limit);
|
|
|
|
svn::SharedPointer<svn::LogEntriesMap> logs = getLog(start,end,peg,which,list_files,limit);
|
|
|
|
if (!logs) return;
|
|
|
|
if (!logs) return;
|
|
|
|
bool need_modal = m_Data->runblocked||TQT_TQWIDGET(KApplication::activeModalWidget())!=0;
|
|
|
|
bool need_modal = m_Data->runblocked||TQT_TQWIDGET(TDEApplication::activeModalWidget())!=0;
|
|
|
|
if (need_modal||!m_Data->m_LogDialog) {
|
|
|
|
if (need_modal||!m_Data->m_LogDialog) {
|
|
|
|
m_Data->m_LogDialog=new SvnLogDlgImp(this,0,"logdialog",need_modal);
|
|
|
|
m_Data->m_LogDialog=new SvnLogDlgImp(this,0,"logdialog",need_modal);
|
|
|
|
connect(m_Data->m_LogDialog,TQT_SIGNAL(makeDiff(const TQString&,const svn::Revision&,const TQString&,const svn::Revision&,TQWidget*)),
|
|
|
|
connect(m_Data->m_LogDialog,TQT_SIGNAL(makeDiff(const TQString&,const svn::Revision&,const TQString&,const svn::Revision&,TQWidget*)),
|
|
|
@ -1356,7 +1356,7 @@ void SvnActions::dispDiff(const TQByteArray&ex)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
delete proc;
|
|
|
|
delete proc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
bool need_modal = m_Data->runblocked||TQT_TQWIDGET(KApplication::activeModalWidget())!=0;
|
|
|
|
bool need_modal = m_Data->runblocked||TQT_TQWIDGET(TDEApplication::activeModalWidget())!=0;
|
|
|
|
if (need_modal||!m_Data->m_DiffBrowserPtr||!m_Data->m_DiffDialog) {
|
|
|
|
if (need_modal||!m_Data->m_DiffBrowserPtr||!m_Data->m_DiffDialog) {
|
|
|
|
DiffBrowser*ptr;
|
|
|
|
DiffBrowser*ptr;
|
|
|
|
|
|
|
|
|
|
|
|