#define VER_LAMEXP_MINOR_LO 3
#define VER_LAMEXP_TYPE Alpha
#define VER_LAMEXP_PATCH 14
-#define VER_LAMEXP_BUILD 657
+#define VER_LAMEXP_BUILD 659
///////////////////////////////////////////////////////////////////////////////
// Tools versions
sourceFileView->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents);
sourceFileView->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
sourceFileView->setContextMenuPolicy(Qt::CustomContextMenu);
+ sourceFileView->viewport()->installEventFilter(this);
m_dropNoteLabel = new QLabel(sourceFileView);
m_dropNoteLabel->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
SET_FONT_BOLD(m_dropNoteLabel, true);
break;
}
}
+ else if(obj == sourceFileView->viewport())
+ {
+ sourceFileView ->resizeColumnToContents(0);
+ }
+
return false;
}
TEMP_HIDE_DROPBOX
(
- if(lamexp_themes_enabled())
+ if(lamexp_themes_enabled() || ((QSysInfo::windowsVersion() & QSysInfo::WV_NT_based) < QSysInfo::WV_XP))
{
QStringList fileTypeFilters = DecoderRegistry::getSupportedTypes();
QStringList selectedFiles = QFileDialog::getOpenFileNames(this, tr("Add file(s)"), QString(), fileTypeFilters.join(";;"));
{
TEMP_HIDE_DROPBOX
(
- if(lamexp_themes_enabled())
+ if(lamexp_themes_enabled() || ((QSysInfo::windowsVersion() & QSysInfo::WV_NT_based) < QSysInfo::WV_XP))
{
selectedFolder = QFileDialog::getExistingDirectory(this, tr("Add Folder"), QDesktopServices::storageLocation(QDesktopServices::MusicLocation));
}
view_log->verticalHeader()->hide();
view_log->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
view_log->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
+ view_log->viewport()->installEventFilter(this);
connect(m_progressModel, SIGNAL(rowsInserted(QModelIndex,int,int)), this, SLOT(progressModelChanged()));
connect(m_progressModel, SIGNAL(modelReset()), this, SLOT(progressModelChanged()));
connect(view_log, SIGNAL(activated(QModelIndex)), this, SLOT(logViewDoubleClicked(QModelIndex)));
QDesktopServices::openUrl(url);
}
}
+ else if(obj == view_log->viewport())
+ {
+ view_log->resizeColumnToContents(1);
+ }
return false;
}
lamexp_check_compatibility_mode(NULL, executableName);
break;
default:
- qFatal("%s", QApplication::tr("Executable '%1' requires Windows 2000 or later.").arg(QString::fromLatin1(executableName)).toLatin1().constData());
+ qWarning("%s", QApplication::tr("Executable '%1' requires Windows 2000 or later.").arg(QString::fromLatin1(executableName)).toLatin1().constData());
break;
}