]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/tooltips/tooltipmanager.cpp
Coding style update for pointer comparison
[dolphin.git] / src / views / tooltips / tooltipmanager.cpp
index fdf83d13d89d19783177af5e0a2f8082ee5cfb42..cb86b3355020e1c056cdc59dffec3ed4a461fcca 100644 (file)
@@ -51,7 +51,7 @@ ToolTipManager::ToolTipManager(QAbstractItemView* parent,
     m_enabledPlugins()
 {
     static FileMetaDataToolTip* sharedToolTip = 0;
-    if (sharedToolTip == 0) {
+    if (!sharedToolTip) {
         sharedToolTip = new FileMetaDataToolTip();
         // TODO: Using K_GLOBAL_STATIC would be preferable to maintain the
         // instance, but the cleanup of KFileMetaDataWidget at this stage does