[tracker] tracker-extract: Fix crash with certain versions of Qt
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Fix crash with certain versions of Qt
- Date: Fri, 15 Apr 2011 15:32:51 +0000 (UTC)
commit b6a1f12b3653773d01287d723e24caf3cdb58c63
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Apr 15 17:16:26 2011 +0200
tracker-extract: Fix crash with certain versions of Qt
src/tracker-extract/tracker-albumart-qt.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-albumart-qt.cpp b/src/tracker-extract/tracker-albumart-qt.cpp
index f64d301..43765ee 100644
--- a/src/tracker-extract/tracker-albumart-qt.cpp
+++ b/src/tracker-extract/tracker-albumart-qt.cpp
@@ -39,7 +39,7 @@ void
tracker_albumart_plugin_init (void)
{
int argc = 0;
- char **argv = NULL;
+ char *argv[2] = { NULL, NULL };
app = new QApplication (argc, argv, QApplication::Tty);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]