summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgamelcd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgamelcd.cpp')
-rw-r--r--libkdegames/kgamelcd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkdegames/kgamelcd.cpp b/libkdegames/kgamelcd.cpp
index fc814f18..c99a3401 100644
--- a/libkdegames/kgamelcd.cpp
+++ b/libkdegames/kgamelcd.cpp
@@ -232,11 +232,11 @@ void KGameLCDList::append(const TQString &leading, TQLCDNumber *lcd)
TQLabel *label = 0;
if ( !leading.isEmpty() ) {
label = new TQLabel(leading, this);
- static_cast<TQGridLayout *>(tqlayout())->addWidget(label, i+1, 0);
+ static_cast<TQGridLayout *>(layout())->addWidget(label, i+1, 0);
}
d->_leadings.push_back(label);
_lcds.push_back(lcd);
- static_cast<TQGridLayout *>(tqlayout())->addWidget(lcd, i+1, 1);
+ static_cast<TQGridLayout *>(layout())->addWidget(lcd, i+1, 1);
}
void KGameLCDList::clear()