From 59172679bb42ecb616d7c810b61faf2b7937c614 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 6 Oct 2011 14:34:21 +0000 Subject: [PATCH] Fix compilation warning --- src/Qtx/Qtx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qtx/Qtx.cxx b/src/Qtx/Qtx.cxx index 5f3c83c41..fd1993b3e 100755 --- a/src/Qtx/Qtx.cxx +++ b/src/Qtx/Qtx.cxx @@ -1166,7 +1166,7 @@ bool Qtx::stringToBiColor( const QString& str, QColor& color, int& delta ) { QStringList data = str.split( "|", QString::KeepEmptyParts ); QColor c; - int d; + int d = 0; bool ok = data.count() > 0 && Qtx::stringToColor( data[0], c ); bool dok = false; if ( data.count() > 1 ) d = data[1].toInt( &dok ); -- 2.39.2