summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Chowdhury <rahulc93@gmail.com>2015-09-08 15:58:01 (GMT)
committerRahul Chowdhury <rahulc93@gmail.com>2015-09-08 15:58:01 (GMT)
commit8b8977f65602466c0ea560453d0fb2adcadcd286 (patch)
tree920b5fda8218e9cf15578dc52756df0c1048d3ba
parentdee6ad1a3c4f9d728145752623dc1d3696b37cb7 (diff)
Fix QMessageBox port
-rw-r--r--src/kalzium.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kalzium.cpp b/src/kalzium.cpp
index 01d2430..840df0d 100644
--- a/src/kalzium.cpp
+++ b/src/kalzium.cpp
@@ -381,7 +381,7 @@ MoleculeDialog *Kalzium::slotMoleculeviewer()
#if defined(HAVE_OPENBABEL2) && defined(HAVE_EIGEN) && defined(HAVE_AVOGADRO)
if (!QGLFormat::hasOpenGL()) {
- QMessageBox::error(0, i18n("This system does not support OpenGL."), i18n("Kalzium Error"));
+ QMessageBox::critical(Q_NULLPTR, i18n("Kalzium Error"), i18n("This system does not support OpenGL."));
return NULL;
}