diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:04:59 +0200 |
commit | 41b1d53a0144afe4c31425c18af25c2d6ade881b (patch) | |
tree | 4bf4a434c5db64325f317e56cc9d8d2a729df3e4 /kdeui/kurllabel.cpp | |
parent | e2867c1f1eec514d56386f2fc5350eaaf760532a (diff) | |
download | tdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.tar.gz tdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit a51cd9949c4e6c726a84a61de3cfadd30cefb5c7)
Diffstat (limited to 'kdeui/kurllabel.cpp')
-rw-r--r-- | kdeui/kurllabel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeui/kurllabel.cpp b/kdeui/kurllabel.cpp index 8a996fe5b..943cf393a 100644 --- a/kdeui/kurllabel.cpp +++ b/kdeui/kurllabel.cpp @@ -407,7 +407,7 @@ TQRect KURLLabel::activeRect() const TQRect r( contentsRect() ); if (text().isEmpty() || (!d->MarginAltered && sizePolicy() == TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed))) return r; //fixed size is sometimes used with pixmap - int hAlign = TQApplication::horizontalAlignment( tqalignment() ); + int hAlign = TQApplication::horizontalAlignment( alignment() ); int indentX = (hAlign && indent()>0) ? indent() : 0; TQFontMetrics fm(font()); r.setWidth( QMIN(fm.width(text()), r.width())); |