Commit 5b248475 authored by Christoph Pfister's avatar Christoph Pfister

fix and run source code maintenance tool

parent 9b63934e
......@@ -505,7 +505,7 @@ void VlcMediaWidget::vlcEvent(const libvlc_event_t *event)
return;
}
Log("VlcMediaWidget::eventHandler: unknown event type") << event->type;
Log("VlcMediaWidget::vlcEvent: unknown event type") << event->type;
}
void VlcMediaWidget::vlcEventHandler(const libvlc_event_t *event, void *instance)
......
#!/bin/sh
set -eu
mkdir -p kaffeine_build
cd kaffeine_build
cmake ../kaffeine -DBUILD_TOOLS=1
# not for production use
sourcedir=$(pwd)
cd ~/bin/kaffeine-build
cmake -DBUILD_TOOLS=1 .
make updatesource
cd ../kaffeine
../kaffeine_build/tools/updatesource
cd $sourcedir
~/bin/kaffeine-build/tools/updatesource
......@@ -21,6 +21,7 @@
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QLatin1String>
int main(int argc, char *argv[])
{
......@@ -99,7 +100,7 @@ int main(int argc, char *argv[])
}
}
if (path.startsWith(QLatin1String("include/")) || path.startsWith(QLati1nString("tools/"))) {
if (path.startsWith(QLatin1String("include/")) || path.startsWith(QLatin1String("tools/"))) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment