summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/muse/canvas.cpp8
-rw-r--r--muse/muse/ctrl.cpp4
-rw-r--r--muse/muse/dssihost.cpp6
-rw-r--r--muse/muse/plugin.cpp8
4 files changed, 13 insertions, 13 deletions
diff --git a/muse/muse/canvas.cpp b/muse/muse/canvas.cpp
index 614cf3e3..c445c446 100644
--- a/muse/muse/canvas.cpp
+++ b/muse/muse/canvas.cpp
@@ -644,7 +644,7 @@ void PartCanvas::mousePress(QMouseEvent* me)
void PartCanvas::mouseMove(QPoint pos)
{
-
+
if(rubberBand)
rubberBand->setGeometry(QRect(rubberBandStartPos, pos).normalized());
@@ -773,10 +773,10 @@ void PartCanvas::mouseMove(QPoint pos)
void PartCanvas::mouseRelease(QMouseEvent* me)
{
-
+
if (rubberBand)
rubberBand->hide(); // TODO robert, nothing more happens for the moment/
-
+
if (state == S_SUBTRACK) {
((TLSWidget*)(at->tw))->mouseRelease();
state = S_NORMAL;
@@ -852,7 +852,7 @@ void PartCanvas::mouseDoubleClick(QMouseEvent* me)
// keyboardNavigate
//---------------------------------------------------------
-void PartCanvas::keyboardNavigate(QKeyEvent *e)
+void PartCanvas::keyboardNavigate(QKeyEvent*)
{
printf("nothing here go away\n");
}
diff --git a/muse/muse/ctrl.cpp b/muse/muse/ctrl.cpp
index a57f8a6f..82e8efef 100644
--- a/muse/muse/ctrl.cpp
+++ b/muse/muse/ctrl.cpp
@@ -191,8 +191,8 @@ void Ctrl::read(QDomNode node, bool)
_name = e.attribute("name");
_type = e.attribute("type","0").toInt();
- char* minS = "0.0f";
- char* maxS = "1.0f";
+ const char* minS = "0.0f";
+ const char* maxS = "1.0f";
if (_type & INT) {
minS = "0";
diff --git a/muse/muse/dssihost.cpp b/muse/muse/dssihost.cpp
index f349ccc8..f72d4740 100644
--- a/muse/muse/dssihost.cpp
+++ b/muse/muse/dssihost.cpp
@@ -260,13 +260,13 @@ static void scanDSSIDir(const QString& s)
void initDSSI()
{
- char* dssiPath = getenv("DSSI_PATH");
+ const char* dssiPath = getenv("DSSI_PATH");
if (dssiPath == 0)
dssiPath = "/usr/lib/dssi:/usr/local/lib/dssi";
- char* p = dssiPath;
+ const char* p = dssiPath;
while (*p != '\0') {
- char* pe = p;
+ const char* pe = p;
while (*pe != ':' && *pe != '\0')
pe++;
diff --git a/muse/muse/plugin.cpp b/muse/muse/plugin.cpp
index eb8d9160..a661b08e 100644
--- a/muse/muse/plugin.cpp
+++ b/muse/muse/plugin.cpp
@@ -84,7 +84,7 @@ static void loadPluginDir(const QString& s)
{
if (debugMsg)
printf("scan ladspa plugin dir <%s>\n", s.toLatin1().data());
-#ifdef __APPLE__
+#ifdef __APPLE__
QDir pluginDir(s, QString("*.dylib"), 0, QDir::Files);
#else
QDir pluginDir(s, QString("*.so"), 0, QDir::Files);
@@ -107,13 +107,13 @@ void initPlugins()
{
loadPluginDir(museGlobalLib + QString("/plugins"));
- char* ladspaPath = getenv("LADSPA_PATH");
+ const char* ladspaPath = getenv("LADSPA_PATH");
if (ladspaPath == 0)
ladspaPath = "/usr/lib/ladspa:/usr/local/lib/ladspa";
- char* p = ladspaPath;
+ const char* p = ladspaPath;
while (*p != '\0') {
- char* pe = p;
+ const char* pe = p;
while (*pe != ':' && *pe != '\0')
pe++;