diff options
Diffstat (limited to 'kgeography/src/flagdivisionasker.cpp')
-rw-r--r-- | kgeography/src/flagdivisionasker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kgeography/src/flagdivisionasker.cpp b/kgeography/src/flagdivisionasker.cpp index f6c305ab..92f0b039 100644 --- a/kgeography/src/flagdivisionasker.cpp +++ b/kgeography/src/flagdivisionasker.cpp @@ -17,7 +17,7 @@ #include "flagdivisionasker.h" #include "map.h" -flagDivisionAsker::flagDivisionAsker(TQWidget *parent, KGmap *m, TQWidget *w, uint count) : boxAsker(parent, m, w, count) +flagDivisionAsker::flagDivisionAsker(TQWidget *tqparent, KGmap *m, TQWidget *w, uint count) : boxAsker(tqparent, m, w, count) { p_flag = new TQWidget(this); p_lay -> insertWidget(0, p_flag); @@ -31,7 +31,7 @@ bool flagDivisionAsker::nextBoxAskerQuestionHook(const TQString &division, int i { // we put the flag image TQImage image(p_map -> getDivisionFlagFile(division)); - p_flag -> setPaletteBackgroundPixmap(image); + p_flag -> setPaletteBackgroundPixmap(TQPixmap(image)); p_flag -> setFixedSize(image.size()); p_currentAnswer.setQuestion(image.smoothScale(image.width()/5, image.height()/5)); |