diff --git a/sleepyhead/Graphs/gGraphView.cpp b/sleepyhead/Graphs/gGraphView.cpp index 9f93f93f..e2302779 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -1278,6 +1278,7 @@ void gGraphView::paintGL() // Create QPainter object, note this is only valid from paintGL events! QPainter painter(this); + painter.setRenderHint(QPainter::HighQualityAntialiasing, true); painter.setRenderHint(QPainter::TextAntialiasing, true); diff --git a/sleepyhead/SleepLib/profiles.cpp b/sleepyhead/SleepLib/profiles.cpp index f376d62f..d37457aa 100644 --- a/sleepyhead/SleepLib/profiles.cpp +++ b/sleepyhead/SleepLib/profiles.cpp @@ -424,10 +424,10 @@ QString Environment::searchInPath(const QString &executable, const QStringList & // Borrowed from QtCreator (http://stackoverflow.com/questions/3490336/how-to-reveal-in-finder-or-show-in-explorer-with-qt) void showInGraphicalShell(const QString & pathIn) { - //QWidget * parent = NULL; // Mac, Windows support folder or file. #if defined(Q_OS_WIN) + QWidget * parent = NULL; Environment env; const QString explorer = env.searchInPath(QLatin1String("explorer.exe")); if (explorer.isEmpty()) {