summaryrefslogtreecommitdiffstats
path: root/kshisen/tileset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kshisen/tileset.cpp')
-rw-r--r--kshisen/tileset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kshisen/tileset.cpp b/kshisen/tileset.cpp
index 492cde79..e9b50c43 100644
--- a/kshisen/tileset.cpp
+++ b/kshisen/tileset.cpp
@@ -67,9 +67,9 @@ void TileSet::resizeTiles(int maxWidth, int maxHeight)
// and maintain the tile's height-to-width ratio
double ratio = static_cast<double>(unscaledTileHeight()) / unscaledTileWidth();
if(maxWidth * ratio < maxHeight)
- maxHeight = qRound(maxWidth * ratio);
+ maxHeight = tqRound(maxWidth * ratio);
else
- maxWidth = qRound(maxHeight / ratio);
+ maxWidth = tqRound(maxHeight / ratio);
if(maxHeight == tileHeight() && maxWidth == tileWidth())
return;
@@ -118,7 +118,7 @@ TQPixmap TileSet::highlightedTile(int n) const
int TileSet::lineWidth() const
{
- int width = qRound(tileHeight() / 10.0);
+ int width = tqRound(tileHeight() / 10.0);
if(width < 3)
width = 3;