diff options
Diffstat (limited to 'lib/koproperty/editor.cpp')
| -rw-r--r-- | lib/koproperty/editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp index 880ccc9c2..3c0a09400 100644 --- a/lib/koproperty/editor.cpp +++ b/lib/koproperty/editor.cpp @@ -474,9 +474,9 @@ Editor::slotPropertyChanged(Set& set, Property& property) } /* if (widget->property() && (TQWidget*)d->currentWidget==widget && d->currentItem->tqparent()) { - EditorItem *tqparentItem = static_cast<EditorItem*>(d->currentItem->tqparent()); + EditorItem *parentItem = static_cast<EditorItem*>(d->currentItem->tqparent()); const int thisType = ; - && tqparentItem->property()->type()==Rect) { + && parentItem->property()->type()==Rect) { //changing x or y components of Rect type shouldn't change width or height, respectively if (thisType==Rect_X) { EditorItem *rectWidthItem = static_cast<EditorItem*>(d->currentItem->nextSibling()->nextSibling()); @@ -981,8 +981,8 @@ Editor::handleKeyPress(TQKeyEvent* ev) void Editor::updateFont() { - setFont(tqparentWidget()->font()); - d->baseRowHeight = TQFontMetrics(tqparentWidget()->font()).height() + itemMargin() * 2; + setFont(parentWidget()->font()); + d->baseRowHeight = TQFontMetrics(parentWidget()->font()).height() + itemMargin() * 2; if (!d->currentItem) d->undoButton->resize(d->baseRowHeight, d->baseRowHeight); else { |
