Merge branch 'master' of https://bitbucket.org/zaher-salman/musrfit
This commit is contained in:
@ -629,8 +629,6 @@ Bool_t PStartupHandler::WriteDefaultStartupFile()
|
||||
fout << " <comment>" << endl;
|
||||
fout << " Defines default settings for the musrfit package" << endl;
|
||||
fout << " </comment>" << endl;
|
||||
fout << " <data_path>/mnt/data/nemu/his</data_path>" << endl;
|
||||
fout << " <data_path>/mnt/data/nemu/wkm</data_path>" << endl;
|
||||
fout << " <data_path>/afs/psi.ch/project/nemu/data/his</data_path>" << endl;
|
||||
fout << " <data_path>/afs/psi.ch/project/nemu/data/wkm</data_path>" << endl;
|
||||
fout << " <data_path>/afs/psi.ch/project/bulkmusr/data/gps</data_path>" << endl;
|
||||
|
@ -3027,10 +3027,15 @@ void PTextEdit::getTheme()
|
||||
|
||||
QString str = QIcon::themeName();
|
||||
|
||||
qDebug() << "debug> str=" << str << endl;
|
||||
|
||||
if (str.contains("dark", Qt::CaseInsensitive)) {
|
||||
fDarkTheme = true;
|
||||
if (str.contains("ubuntu", Qt::CaseInsensitive)) {
|
||||
fDarkToolBarIcon = false;
|
||||
} else if (str.contains("xfce", Qt::CaseInsensitive)) {
|
||||
fDarkTheme = false;
|
||||
fDarkToolBarIcon = false;
|
||||
} else {
|
||||
fDarkToolBarIcon = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user