summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-07 16:09:51 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-07 16:09:51 -0500
commitf8790c70f8b1ce1f143719c19131c50031fd051a (patch)
treeb23ba170a1e0f734da90240e70869c703cd90c43 /tdeio
parent30c2b7e4bd6fa63d0f3431b8e82fefd81364726f (diff)
downloadtdelibs-f8790c70f8b1ce1f143719c19131c50031fd051a.tar.gz
tdelibs-f8790c70f8b1ce1f143719c19131c50031fd051a.zip
Fix certain shell scripts not being identified
This relates to Bug 656 Clean up some old development debug statements
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdefile/kpropertiesdialog.cpp2
-rw-r--r--tdeio/tdeio/kmimemagic.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp
index 9fd902780..8302f3080 100644
--- a/tdeio/tdefile/kpropertiesdialog.cpp
+++ b/tdeio/tdefile/kpropertiesdialog.cpp
@@ -2937,8 +2937,6 @@ KDevicePropsPlugin::KDevicePropsPlugin( KPropertiesDialog *_props ) : KPropsDlgP
i18n("Device:") ); // new style (combobox)
layout->addWidget(label, 0, 0);
-// RAJA FIXME
-// Disable the OK button if no device is selected!
device = new TQComboBox( true, d->m_frame, "ComboBox_device" );
device->insertStringList( devices );
layout->addWidget(device, 0, 1);
diff --git a/tdeio/tdeio/kmimemagic.cpp b/tdeio/tdeio/kmimemagic.cpp
index 821794123..dcc15fafe 100644
--- a/tdeio/tdeio/kmimemagic.cpp
+++ b/tdeio/tdeio/kmimemagic.cpp
@@ -171,7 +171,6 @@ int KMimeMagic::apprentice( const TQString& magicfile ) {
}
conf->databases.clear();
conf->databases.append(maindatabase);
-printf("[RAJA DEBUG 342.0] Loading database '%s'\n\r", conf->databases[0].ascii()); fflush(stdout);
return magic_load(conf->magic, conf->databases[0].latin1());
}
@@ -190,7 +189,6 @@ void process(struct config_rec* conf, const TQString & fn) {
}
magic_setflags(conf->magic, magic_flags);
conf->resultBuf = TQString(magic_file(conf->magic, fileName));
-printf("[RAJA DEBUG 340.0] fileName: '%s' conf->resultBuf: '%s'\n\r", fileName.data(), conf->resultBuf.ascii()); fflush(stdout);
conf->resultBuf = fixupMagicOutput(conf->resultBuf);
if ( conf->utimeConf && conf->utimeConf->restoreAccessTime( fn ) ) {
@@ -258,7 +256,6 @@ bool KMimeMagic::mergeConfig(const TQString & _configfile) {
TQString merged_databases = conf->databases.join(":");
int magicvers = magic_version();
if ((magicvers < 512) || (magicvers >= 518)) {
-printf("[RAJA DEBUG 342.1] Loading database(s) '%s'\n\r", merged_databases.ascii()); fflush(stdout);
if (magic_load(conf->magic, merged_databases.latin1()) == 0) {
return true;
}
@@ -295,7 +292,6 @@ KMimeMagicResult *KMimeMagic::findBufferType(const TQByteArray &array) {
}
magic_setflags(conf->magic, magic_flags);
conf->resultBuf = TQString(magic_buffer(conf->magic, array.data(), nbytes));
-printf("[RAJA DEBUG 340.1] conf->resultBuf: '%s'\n\r", conf->resultBuf.ascii()); fflush(stdout);
conf->resultBuf = fixupMagicOutput(conf->resultBuf);
}
/* if we have any results, put them in the request structure */