]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the printer analyzing problem.
authornds <nds@opencascade.com>
Mon, 6 Oct 2008 09:20:12 +0000 (09:20 +0000)
committernds <nds@opencascade.com>
Mon, 6 Oct 2008 09:20:12 +0000 (09:20 +0000)
src/Qtx/Qtx.cxx

index 73b3c7624c45727516d0b5c5dff2b1a0aa7a9498..896eed39a77a45496321d60a107c17ecef571cdf 100755 (executable)
@@ -1304,7 +1304,7 @@ bool Qtx::hasAnyPrinters()
   bool aRes = true;
 #if !defined(WIN32) && !defined(QT_NO_CUPS)
 #if QT_VERSION < 0x040303
-  QLibrary aCupsLib( QString( "cups" ) );
+  QLibrary aCupsLib( QString( "cups" ), 2 );
   if ( !aCupsLib.load() )
     aRes = false;
   else {