summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kstars/kstars/ccdpreviewwg.cpp2
-rw-r--r--kstars/kstars/streamwg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kstars/kstars/ccdpreviewwg.cpp b/kstars/kstars/ccdpreviewwg.cpp
index 10a4e22e..abe0ae21 100644
--- a/kstars/kstars/ccdpreviewwg.cpp
+++ b/kstars/kstars/ccdpreviewwg.cpp
@@ -204,7 +204,7 @@ void CCDPreviewWG::updateFWHM()
void CCDPreviewWG::resizeEvent(TQResizeEvent *ev)
{
- streamFrame->resize(ev->size().width() - tqlayout()->margin() * 2, ev->size().height() - playB->height() - tqlayout()->margin() * 2 - tqlayout()->spacing());
+ streamFrame->resize(ev->size().width() - layout()->margin() * 2, ev->size().height() - playB->height() - layout()->margin() * 2 - layout()->spacing());
}
void CCDPreviewWG::playPressed()
diff --git a/kstars/kstars/streamwg.cpp b/kstars/kstars/streamwg.cpp
index d000abfc..53d19fc7 100644
--- a/kstars/kstars/streamwg.cpp
+++ b/kstars/kstars/streamwg.cpp
@@ -145,7 +145,7 @@ void StreamWG::setSize(int wd, int ht)
void StreamWG::resizeEvent(TQResizeEvent *ev)
{
- streamFrame->resize(ev->size().width() - tqlayout()->margin() * 2, ev->size().height() - playB->height() - tqlayout()->margin() * 2 - tqlayout()->spacing());
+ streamFrame->resize(ev->size().width() - layout()->margin() * 2, ev->size().height() - playB->height() - layout()->margin() * 2 - layout()->spacing());
}
/*