diff --git a/vlcinfo/MainWindow.cpp b/vlcinfo/MainWindow.cpp
index 745e3aa..c85adb8 100644
--- a/vlcinfo/MainWindow.cpp
+++ b/vlcinfo/MainWindow.cpp
@@ -53,9 +53,9 @@ void MainWindow::loadFile()                   // Choose a one or more files and
 }
 
 
-void MainWindow::loadFile(const QString& filename)      // Show information about the file with the given name.
+void MainWindow::loadFile(char *filename)      // Show information about the file with the given name.
 {
-    m_mediatabs->addMedia(filename);
+    m_mediatabs->addMedia(QString::fromUtf8(filename));
 }
 
 
diff --git a/vlcinfo/MainWindow.h b/vlcinfo/MainWindow.h
index 1407d24..f8b6c71 100644
--- a/vlcinfo/MainWindow.h
+++ b/vlcinfo/MainWindow.h
@@ -15,7 +15,7 @@ public:
     MainWindow();
 public slots:
     void loadFile();                         // Choose a one or more files and show information about it.
-    void loadFile(const QString& filename);  // Show information about the file with the given name.
+    void loadFile(char *filename);  // Show information about the file with the given name.
     void loadDir();                          // Choose directory and show information about all files in it.
     void showStartWidget();                  // Shows the start widget.
     void hideStartWidget();                  // Hide start widget.
diff --git a/vlcinfo/vlcinfo.pro b/vlcinfo/vlcinfo.pro
index 7625a69..9bc5f63 100644
--- a/vlcinfo/vlcinfo.pro
+++ b/vlcinfo/vlcinfo.pro
@@ -6,7 +6,7 @@ TEMPLATE = app
 TARGET =
 DEPENDPATH += .
 INCLUDEPATH += . /usr/local/include
-LIBS += -L/usr/local/include -lvlc
+LIBS += -L/usr/local/include -lvlc -ggdb
 QT += xml
 
 # Input

