|
Lines 50-56
Link Here
|
| 50 |
fmitversion += "-" + fmitversiongit; |
50 |
fmitversion += "-" + fmitversiongit; |
| 51 |
} |
51 |
} |
| 52 |
else { |
52 |
else { |
| 53 |
QFile readmefile(":/README.txt"); |
53 |
QFile readmefile("/usr/share/doc/1.0.15/README.txt"); |
| 54 |
readmefile.open(QFile::ReadOnly | QFile::Text); |
54 |
readmefile.open(QFile::ReadOnly | QFile::Text); |
| 55 |
QTextStream readmefilestream(&readmefile); |
55 |
QTextStream readmefilestream(&readmefile); |
| 56 |
readmefilestream.readLine(); |
56 |
readmefilestream.readLine(); |
|
Lines 67-73
Link Here
|
| 67 |
{ |
67 |
{ |
| 68 |
std::cout << "Free Music Instrument Tuner (Version " << FMITVersion().toLatin1().constData() << ")" << std::endl; |
68 |
std::cout << "Free Music Instrument Tuner (Version " << FMITVersion().toLatin1().constData() << ")" << std::endl; |
| 69 |
|
69 |
|
| 70 |
QString fmitprefix(STR(PREFIX)); |
70 |
QString fmitprefix(STR(/usr)); |
| 71 |
|
71 |
|
| 72 |
QApplication a(argc, argv, true); |
72 |
QApplication a(argc, argv, true); |
| 73 |
QApplication::setQuitOnLastWindowClosed(true); |
73 |
QApplication::setQuitOnLastWindowClosed(true); |