1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Windows: MSVC2017: changes in sdrgui and sdrbase (5)

This commit is contained in:
f4exb
2018-11-12 18:36:27 +01:00
parent fd50eeb810
commit d910675587
18 changed files with 146 additions and 71 deletions
+4 -2
View File
@@ -122,8 +122,9 @@ void EditCommandDialog::setRelease(bool release)
ui->keyRelease->setChecked(release);
}
void EditCommandDialog::on_showFileDialog_clicked(bool checked __attribute__((unused)))
void EditCommandDialog::on_showFileDialog_clicked(bool checked)
{
(void) checked;
QString commandFileName = ui->command->text();
QFileInfo commandFileInfo(commandFileName);
QString commandFolderName = commandFileInfo.baseName();
@@ -224,8 +225,9 @@ void EditCommandDialog::setKeyAssociate()
}
}
void EditCommandDialog::commandKeyPressed(Qt::Key key, Qt::KeyboardModifiers keyModifiers, bool release __attribute__((unused)))
void EditCommandDialog::commandKeyPressed(Qt::Key key, Qt::KeyboardModifiers keyModifiers, bool release)
{
(void) release;
// qDebug("EditCommandDialog::commandKeyPressed: key: %x", m_key);
// qDebug("EditCommandDialog::commandKeyPressed: has modifiers: %x", QFlags<Qt::KeyboardModifier>::Int(keyModifiers));
m_key = key;