|
|
|
@ -55,15 +55,15 @@ void setupDirs()
|
|
|
|
|
if( locate("data", "kbarcode/logo.png").isEmpty() ) {
|
|
|
|
|
// Maybe KBarcode was not installed into $TDEDIR
|
|
|
|
|
KStandardDirs* dirs = KGlobal::dirs();
|
|
|
|
|
TQString kdedir = dirs->kfsstnd_prefixes();
|
|
|
|
|
TQString tdedir = dirs->kfsstnd_prefixes();
|
|
|
|
|
|
|
|
|
|
if( !kdedir.contains( "/usr/local/" ) )
|
|
|
|
|
if( !tdedir.contains( "/usr/local/" ) )
|
|
|
|
|
dirs->addPrefix( "/usr/local/" );
|
|
|
|
|
|
|
|
|
|
if( !kdedir.contains( "/usr/local/kde/" ) )
|
|
|
|
|
if( !tdedir.contains( "/usr/local/kde/" ) )
|
|
|
|
|
dirs->addPrefix( "/usr/local/kde/" );
|
|
|
|
|
|
|
|
|
|
if( !kdedir.contains( "/usr/" ) )
|
|
|
|
|
if( !tdedir.contains( "/usr/" ) )
|
|
|
|
|
dirs->addPrefix( "/usr/" );
|
|
|
|
|
|
|
|
|
|
qDebug("WARNING: Prefix changed: %s", dirs->kfsstnd_prefixes().latin1() );
|
|
|
|
|