diff options
author | Slávek Banko <[email protected]> | 2019-05-26 17:01:21 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-05-26 17:01:21 +0200 |
commit | 5fcb1d91b4f52ab609864968a7320eb276f6c068 (patch) | |
tree | 68b06e9aae62d253e11bee1794e440fdff1f2f10 /kdevdesigner/designer/mainwindow.cpp | |
parent | 5c2e2bba886fb5aca2abead9bfc2b1d15216d229 (diff) | |
download | tdevelop-5fcb1d91b4f52ab609864968a7320eb276f6c068.tar.gz tdevelop-5fcb1d91b4f52ab609864968a7320eb276f6c068.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kdevdesigner/designer/mainwindow.cpp')
-rw-r--r-- | kdevdesigner/designer/mainwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/mainwindow.cpp b/kdevdesigner/designer/mainwindow.cpp index 3d900532..4caaab41 100644 --- a/kdevdesigner/designer/mainwindow.cpp +++ b/kdevdesigner/designer/mainwindow.cpp @@ -1739,8 +1739,8 @@ void MainWindow::handleRMBProperties( int id, TQMap<TQString, int> &props, TQWid if ( oldDoWrap != doWrap ) { TQString pn( i18n( "Set 'wordwrap' of '%1'" ).arg( w->name() ) ); SetPropertyCommand *cmd = new SetPropertyCommand( pn, formWindow(), TQT_TQOBJECT(w), propertyEditor, - "wordwrap", TQVariant( oldDoWrap, 0 ), - TQVariant( doWrap, 0 ), TQString(), TQString() ); + "wordwrap", TQVariant( oldDoWrap ), + TQVariant( doWrap ), TQString(), TQString() ); cmd->execute(); formWindow()->commandHistory()->addCommand( cmd ); MetaDataBase::setPropertyChanged( TQT_TQOBJECT(w), "wordwrap", TRUE ); @@ -2642,8 +2642,8 @@ bool MainWindow::openEditor( TQWidget *w, FormWindow *f ) if ( oldDoWrap != doWrap ) { TQString pn( i18n( "Set 'wordwrap' of '%1'" ).arg( w->name() ) ); SetPropertyCommand *cmd = new SetPropertyCommand( pn, formWindow(), TQT_TQOBJECT(w), propertyEditor, - "wordwrap", TQVariant( oldDoWrap, 0 ), - TQVariant( doWrap, 0 ), TQString(), TQString() ); + "wordwrap", TQVariant( oldDoWrap ), + TQVariant( doWrap ), TQString(), TQString() ); cmd->execute(); formWindow()->commandHistory()->addCommand( cmd ); MetaDataBase::setPropertyChanged( TQT_TQOBJECT(w), "wordwrap", TRUE ); |