summaryrefslogtreecommitdiff
path: root/muse2/synti/fluid
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/synti/fluid
parentf681783c513b54002aa4dfec2566f26bfc38689b (diff)
ported many Qt3 methods to Qt4
Diffstat (limited to 'muse2/synti/fluid')
-rw-r--r--muse2/synti/fluid/fluid.cpp2
-rw-r--r--muse2/synti/fluid/fluidgui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/muse2/synti/fluid/fluid.cpp b/muse2/synti/fluid/fluid.cpp
index 17a5119e..8bac3ca2 100644
--- a/muse2/synti/fluid/fluid.cpp
+++ b/muse2/synti/fluid/fluid.cpp
@@ -587,7 +587,7 @@ bool ISynth::init(const char* name)
}
gui = new FLUIDGui;
- gui->setCaption(QString(name));
+ gui->setWindowTitle(QString(name));
gui->show();
return false;
}
diff --git a/muse2/synti/fluid/fluidgui.cpp b/muse2/synti/fluid/fluidgui.cpp
index 10625999..3ba70aff 100644
--- a/muse2/synti/fluid/fluidgui.cpp
+++ b/muse2/synti/fluid/fluidgui.cpp
@@ -73,7 +73,7 @@ void FLUIDGui::loadFont()
void FLUIDGui::soundFontFileDialog()
{
- QString s = QFileDialog::getOpenFileName(QString::null, QString("*.[Ss][Ff]2"), this);
+ QString s = QFileDialog::getOpenFileName(this, QString(), QString(), QString("*.[Ss][Ff]2"));
if (!s.isEmpty()) {
pathEntry->setText(s);
}