summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/view.cpp
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-08 08:22:29 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-08 08:22:29 +0000
commit4a1be16bbfafb8455b54336c4465da8f8bfe3ab6 (patch)
tree01cbdba041d5e864294909d834c1a189f0edb98b /muse2/muse/widgets/view.cpp
parentf681783c513b54002aa4dfec2566f26bfc38689b (diff)
ported many Qt3 methods to Qt4
Diffstat (limited to 'muse2/muse/widgets/view.cpp')
-rw-r--r--muse2/muse/widgets/view.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/muse2/muse/widgets/view.cpp b/muse2/muse/widgets/view.cpp
index ffa1edca..be2fb592 100644
--- a/muse2/muse/widgets/view.cpp
+++ b/muse2/muse/widgets/view.cpp
@@ -78,8 +78,8 @@ void View::setXPos(int x)
int delta = xpos - x; // - -> shift left
xpos = x;
- int w = width();
- int h = height();
+ //int w = width();
+ //int h = height();
scroll(delta, 0);
@@ -95,8 +95,8 @@ void View::setYPos(int y)
int delta = ypos - y; // - -> shift up
ypos = y;
- int w = width();
- int h = height();
+ //int w = width();
+ //int h = height();
scroll(0, delta);
@@ -107,7 +107,7 @@ void View::setYPos(int y)
// resizeEvent
//---------------------------------------------------------
-void View::resizeEvent(QResizeEvent* ev)
+void View::resizeEvent(QResizeEvent* /*ev*/)
{
}