[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KDevelop typo
From: Giovanni Venturi <maildigianni () tin ! it>
Date: 2005-01-09 17:00:28
Message-ID: 200501091800.33997.maildigianni () tin ! it
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Into kdevelop/kdevdesigner/designer/mainwindow.cpp:
line 1761:
if ( ok ) {
QString pn( i18n( "Set the 'title' of '%2'" ).arg( w->name() ) );
SetPropertyCommand *cmd = new SetPropertyCommand( pn, formWindow(), w,
propertyEditor,
"title", w->property( "title" ),
title, QString::null, QString::null );
cmd->execute();
formWindow()->commandHistory()->addCommand( cmd );
MetaDataBase::setPropertyChanged( w, "title", TRUE );
}
} else if ( id == props[ "pagetitle" ] ) {
bool ok = FALSE;
QString text = QInputDialog::getText( i18n("Page Title"), i18n( "New page
title" ),
QLineEdit::Normal, w->property("pageTitle").toString(), &ok, this );
if ( ok ) {
QString pn( i18n( "Set the 'pageTitle' of '%2'" ).arg( w->name() ) );
SetPropertyCommand *cmd = new SetPropertyCommand( pn, formWindow(), w,
propertyEditor,
"pageTitle",
w->property( "pageTitle" ),
text, QString::null, QString::null );
cmd->execute();
formWindow()->commandHistory()->addCommand( cmd );
MetaDataBase::setPropertyChanged( w, "pageTitle", TRUE );
}
} else if ( id == props[ "pixmap" ] ) {
QPixmap oldPix = w->property( "pixmap" ).toPixmap();
QPixmap pix = qChoosePixmap( this, formWindow(), oldPix );
if ( !pix.isNull() ) {
QString pn( i18n( "Set the 'pixmap' of '%2'" ).arg( w->name() ) );
SetPropertyCommand *cmd = new SetPropertyCommand( pn, formWindow(), w,
propertyEditor,
"pixmap", w->property( "pixmap" ),
pix, QString::null, QString::null );
%2 should be %1, right? If so I can commit changes.
Gianni
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic