summaryrefslogtreecommitdiffstats
path: root/src/client/PatchModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-10 06:24:07 +0000
committerDavid Robillard <d@drobilla.net>2012-05-10 06:24:07 +0000
commit0c9e861caa8b1eed5068942edc35d5f91bac816e (patch)
treeb241856ddf49e1b1192f8ea442d1733d9d31b2f2 /src/client/PatchModel.cpp
parent8ec295a0f2a40086ed83e8d2ad8ad38c8125bcb4 (diff)
downloadingen-0c9e861caa8b1eed5068942edc35d5f91bac816e.tar.gz
ingen-0c9e861caa8b1eed5068942edc35d5f91bac816e.tar.bz2
ingen-0c9e861caa8b1eed5068942edc35d5f91bac816e.zip
Work towards translatable strings and a cleaner log interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4338 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PatchModel.cpp')
-rw-r--r--src/client/PatchModel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/PatchModel.cpp b/src/client/PatchModel.cpp
index 91c0c7f1..e52e4eea 100644
--- a/src/client/PatchModel.cpp
+++ b/src/client/PatchModel.cpp
@@ -25,7 +25,6 @@
#include "ingen/shared/URIs.hpp"
using namespace std;
-using namespace Raul;
namespace Ingen {
namespace Client {
@@ -148,8 +147,8 @@ PatchModel::remove_connection(const Port* tail, const Ingen::Port* head)
_signal_removed_connection.emit(c);
_connections->erase(i);
} else {
- warn << "[PatchModel::remove_connection] Failed to find connection " <<
- tail->path() << " -> " << head->path() << endl;
+ Raul::warn(Raul::fmt("Failed to remove patch connection %1% => %2%\n")
+ % tail->path() % head->path());
}
}