Skip to content

Commit

Permalink
Merge pull request #2298 from Jojo-Schmitz/magbox
Browse files Browse the repository at this point in the history
fix build failures
  • Loading branch information
lasconic committed Nov 24, 2015
2 parents c64cb4b + e704c0e commit 7321ba6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions libmscore/scorefile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ bool Score::saveFile()
}
}
#ifdef Q_OS_WIN
QFileInfo fileBackup(dir, backupName);
QString backupNativePath = QDir::toNativeSeparators(fileBackup.absoluteFilePath());
SetFileAttributes((LPCTSTR)backupNativePath.toLocal8Bit(), FILE_ATTRIBUTE_HIDDEN);
QFileInfo fileBackup(dir, backupName);
QString backupNativePath = QDir::toNativeSeparators(fileBackup.absoluteFilePath());
SetFileAttributes((LPCTSTR)backupNativePath.toLocal8Bit(), FILE_ATTRIBUTE_HIDDEN);
#endif
}
//
Expand Down
4 changes: 2 additions & 2 deletions mscore/magbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MagValidator : public QValidator {
// MagBox
//---------------------------------------------------------

class MagBox : protected QComboBox {
class MagBox : public QComboBox {
Q_OBJECT

double freeMag;
Expand All @@ -80,7 +80,7 @@ class MagBox : protected QComboBox {

} // namespace Ms

Q_DECLARE_METATYPE(Ms::MagIdx)
Q_DECLARE_METATYPE(Ms::MagIdx);

#endif

Expand Down

0 comments on commit 7321ba6

Please sign in to comment.